lysdexic@programming.devM to C++@programming.devEnglish · 1 year agoPimpl for Small Classeswww.kdab.comexternal-linkmessage-square5fedilinkarrow-up17arrow-down12
arrow-up15arrow-down1external-linkPimpl for Small Classeswww.kdab.comlysdexic@programming.devM to C++@programming.devEnglish · 1 year agomessage-square5fedilink
minus-squareJustCopyingOthers@lemmy.mllinkfedilinkarrow-up1·1 year agoThis presentation from CPP-On-Sea 2022 is relavent https://youtube.com/watch?v=sjLRX4WMvlU Two classes for managing pimpl
minus-squarelysdexic@programming.devOPMlinkfedilinkEnglisharrow-up1·1 year agoIt 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?
minus-squareJustCopyingOthers@lemmy.mllinkfedilinkarrow-up1·1 year agoIt’s a while since I saw the presentation, but I think they’re both header only classes. Available at https://github.com/jbcoe
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