lysdexic@programming.devM to C++@programming.devEnglish · 1 year agoHow to avoid one C++ foot gunpboyd.ioexternal-linkmessage-square15linkfedilinkarrow-up111arrow-down17
arrow-up14arrow-down1external-linkHow to avoid one C++ foot gunpboyd.iolysdexic@programming.devM to C++@programming.devEnglish · 1 year agomessage-square15linkfedilink
minus-squarecmeerw@programming.devlinkfedilinkarrow-up2·1 year 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-21 year 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