this post was submitted on 03 Sep 2023
6 points (87.5% liked)

C++

1755 readers
2 users here now

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

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

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

[–] lysdexic 1 points 1 year ago (1 children)

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?

[–] [email protected] 1 points 1 year 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