Sergey's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexic@programming.devM to C++@programming.devEnglish · 2 years ago

Pimpl for Small Classes

www.kdab.com

external-link
message-square
5
link
fedilink
5
external-link

Pimpl for Small Classes

www.kdab.com

lysdexic@programming.devM to C++@programming.devEnglish · 2 years ago
message-square
5
link
fedilink
  • JustCopyingOthers@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    This presentation from CPP-On-Sea 2022 is relavent https://youtube.com/watch?v=sjLRX4WMvlU Two classes for managing pimpl

    • lysdexic@programming.devOPM
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      It seems that neither std::indirect_value nor std::polymorphic_value made it into C++23, thought. Is it worth it to add them as external components just to have const qualification working with std::unique_ptr?

      • JustCopyingOthers@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        It’s a while since I saw the presentation, but I think they’re both header only classes. Available at https://github.com/jbcoe

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
  • 19 users / week
  • 70 users / month
  • 230 users / 6 months
  • 1 local subscriber
  • 2.06K subscribers
  • 308 Posts
  • 634 Comments
  • Modlog
  • mods:
  • farados@vlemmy.net
  • Nihili0@programming.dev
  • lysdexic@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org