Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
andreasfertig ( andreasfertig@programming.dev )  to C++@programming.dev · 1 month ago

Move in C++ without a std::move

andreasfertig.com

external-link
message-square
1
link
fedilink
6
external-link

Move in C++ without a std::move

andreasfertig.com

andreasfertig ( andreasfertig@programming.dev )  to C++@programming.dev · 1 month ago
message-square
1
link
fedilink
In one of my earlier posts, Why you should use std::move only rarely I said that you should use std::move only rarely. In today's post,...
alert-triangle
You must log in or # to comment.
  • fruitcantfly ( fruitcantfly@programming.dev ) 
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    The two last code examples are identical, which would seem to be a mistake

C++@programming.dev

cpp@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !cpp@programming.dev

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 4 users / week
  • 35 users / month
  • 97 users / 6 months
  • 13 local subscribers
  • 2.38K subscribers
  • 344 Posts
  • 419 Comments
  • Modlog
  • mods:
  • farados ( farados@vlemmy.net ) 
  • Nihili0 ( Nihili0@programming.dev ) 
  • lysdexic ( lysdexic@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code