lysdexic@programming.devM to C++@programming.devEnglish · 10 months agoThe Myth of Smart Pointerswww.logikalsolutions.comexternal-linkmessage-square28fedilinkarrow-up15arrow-down16cross-posted to: [email protected]
arrow-up1-1arrow-down1external-linkThe Myth of Smart Pointerswww.logikalsolutions.comlysdexic@programming.devM to C++@programming.devEnglish · 10 months agomessage-square28fedilinkcross-posted to: [email protected]
minus-squarefireflash38@lemmy.worldlinkfedilinkEnglisharrow-up4·10 months agoWait until this guy discovers you can cast away const! Or bypass private/protected with casting.
minus-squarelysdexic@programming.devOPMlinkfedilinkEnglisharrow-up1·10 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?”