this post was submitted on 03 Sep 2023
6 points (87.5% liked)
C++
1783 readers
1 users here now
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++.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This presentation from CPP-On-Sea 2022 is relavent https://youtube.com/watch?v=sjLRX4WMvlU Two classes for managing pimpl
It seems that neither
std::indirect_value
norstd::polymorphic_value
made it into C++23, thought. Is it worth it to add them as external components just to haveconst
qualification working withstd::unique_ptr
?It's a while since I saw the presentation, but I think they're both header only classes. Available at https://github.com/jbcoe