qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 hours agoThe C++ experiencelemmy.worldimagemessage-square4fedilinkarrow-up135arrow-down11
arrow-up134arrow-down1imageThe C++ experiencelemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 hours agomessage-square4fedilink
minus-squareMyNameIsRichard@lemmy.mllinkfedilinkarrow-up1arrow-down1·2 hours agoThere’s always a destructor though. It may do nothing but it’s there.
minus-squareValmond@lemmy.worldlinkfedilinkarrow-up5·2 hours agoNo need to declare it though ofc. Rule of 0/3/5
minus-squareMyNameIsRichard@lemmy.mllinkfedilinkarrow-up1·22 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