Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Lobste.rsEnglish · 10 days ago

C++26: std::indirect

www.sandordargo.com

external-link
message-square
0
link
fedilink
1
external-link

C++26: std::indirect

www.sandordargo.com

RSS BotMB to Lobste.rsEnglish · 10 days ago
message-square
0
link
fedilink
C++26 adds two new vocabulary types in , introduced by P3019R14 (Coe, Peacock, Parent). From the abstract: The class template indirect confers value-like semantics on a dynamically-allocated object. An indirect may hold an object of a class T. Copying the indirect will copy the object T. When an indirect is accessed through a const access path, constness will propagate to the owned object. The class template polymorphic confers value-like semantics on a dynamically-allocated object. A polymorphic may hold an object of a class publicly derived from T. Copying the polymorphic will copy the object of the derived type. When a…

Comments

alert-triangle
You must log in or # to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

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: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Source of the RSS Bot

Visibility: Public
globe

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

  • 31 users / day
  • 156 users / week
  • 403 users / month
  • 1.66K users / 6 months
  • 2 local subscribers
  • 396 subscribers
  • 15.6K Posts
  • 1.08K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org