qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 hours agoThe C++ experiencelemmy.worldimagemessage-square4fedilinkarrow-up133arrow-down11
arrow-up132arrow-down1imageThe C++ experiencelemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 hours agomessage-square4fedilink
minus-squareMyNameIsRichardlinkfedilinkarrow-up1arrow-down1·2 hours agoThere’s always a destructor though. It may do nothing but it’s there.
minus-squareValmond@lemmy.worldlinkfedilinkarrow-up5·1 hour agoNo need to declare it though ofc. Rule of 0/3/5
minus-squareMyNameIsRichardlinkfedilinkarrow-up1·12 minutes agoYeah the compiler generates it so it’s always there
There’s always a destructor though. It may do nothing but it’s there.
No need to declare it though ofc.
Rule of 0/3/5
Yeah the compiler generates it so it’s always there