lysdexic@programming.devM to C++@programming.devEnglish · 1 year 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 · 1 year agomessage-square28fedilinkcross-posted to: hackernews@derp.foo
minus-squarefireflash38@lemmy.worldlinkfedilinkEnglisharrow-up4·1 year agoWait until this guy discovers you can cast away const! Or bypass private/protected with casting.
minus-squarelysdexic@programming.devOPMlinkfedilinkEnglisharrow-up1·1 year 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?”