lysdexic@programming.devM to C++@programming.devEnglish · 6 months agoHow to avoid one C++ foot gunpboyd.ioexternal-linkmessage-square12fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkHow to avoid one C++ foot gunpboyd.iolysdexic@programming.devM to C++@programming.devEnglish · 6 months agomessage-square12fedilink
minus-squarecmeerw@programming.devlinkfedilinkarrow-up0·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.
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.