SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
mercator_rejection@lemmy.world to C++@programming.dev · 3 years ago

The move constructor that you have to declare, even though you don't want anyone to actually call it - The Old New Thing

devblogs.microsoft.com

external-link
message-square
3
link
fedilink
  • cross-posted to:
  • cpp@programming.dev
  • cpp@discuss.tchncs.de
8
external-link

The move constructor that you have to declare, even though you don't want anyone to actually call it - The Old New Thing

devblogs.microsoft.com

mercator_rejection@lemmy.world to C++@programming.dev · 3 years ago
message-square
3
link
fedilink
  • cross-posted to:
  • cpp@programming.dev
  • cpp@discuss.tchncs.de
Forcing named return value optimization.
  • gracicot@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    3 years ago

    This is actually what I did. I declared it and left a comment to explain why it needed to be left unimplemented.

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
  • 27 users / week
  • 51 users / month
  • 337 users / 6 months
  • 33 local subscribers
  • 2.2K subscribers
  • 351 Posts
  • 671 Comments
  • Modlog
  • mods:
  • farados@vlemmy.net
  • Nihili0@programming.dev
  • lysdexic@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org