lysdexic@programming.devM to C++@programming.devEnglish · 11 months agoThe Myth of Smart Pointerswww.logikalsolutions.comexternal-linkmessage-square28fedilinkarrow-up15arrow-down16cross-posted to: hackernews@derp.foo
arrow-up1-1arrow-down1external-linkThe Myth of Smart Pointerswww.logikalsolutions.comlysdexic@programming.devM to C++@programming.devEnglish · 11 months agomessage-square28fedilinkcross-posted to: hackernews@derp.foo
minus-squarefireflash38@lemmy.worldlinkfedilinkEnglisharrow-up4·11 months agoWait until this guy discovers you can cast away const! Or bypass private/protected with casting.
minus-squarelysdexic@programming.devOPMlinkfedilinkEnglisharrow-up1·11 months ago“They say C++ is specified in an international standard, but there is behavior that’s left undefined. Are they lazy, or did their printer ran out of ink?”
Wait until this guy discovers you can cast away const! Or bypass private/protected with casting.
“They say C++ is specified in an international standard, but there is behavior that’s left undefined. Are they lazy, or did their printer ran out of ink?”