lysdexic@programming.devM to C++@programming.devEnglish · 7 months agoHow to avoid one C++ foot gunpboyd.ioexternal-linkmessage-square15fedilinkarrow-up111arrow-down17
arrow-up14arrow-down1external-linkHow to avoid one C++ foot gunpboyd.iolysdexic@programming.devM to C++@programming.devEnglish · 7 months agomessage-square15fedilink
minus-squarecmeerw@programming.devlinkfedilinkarrow-up2·6 months agoDepends on what semantic you want. Sure, if you use a unique_ptr member, you will get a deleted copy constructor/operator - I wouldn’t consider that blowing up in my face.
minus-squarelysdexic@programming.devOPMlinkfedilinkEnglisharrow-up1·edit-26 months agodeleted by creator
Depends on what semantic you want. Sure, if you use a
unique_ptr
member, you will get a deleted copy constructor/operator - I wouldn’t consider that blowing up in my face.deleted by creator