lysdexicM to C++English · 1 year agoPimpl for Small Classeswww.kdab.comexternal-linkmessage-square5fedilinkarrow-up17arrow-down11
arrow-up16arrow-down1external-linkPimpl for Small Classeswww.kdab.comlysdexicM to C++English · 1 year agomessage-square5fedilink
minus-squarelysdexicOPMlinkfedilinkEnglisharrow-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
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