roon@lemmy.ml to Programmer Humor@programming.devEnglish · 2 years ago"I want to live forever in AI"lemmy.mlimagemessage-square186linkfedilinkarrow-up12arrow-down10file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up12arrow-down1image"I want to live forever in AI"lemmy.mlroon@lemmy.ml to Programmer Humor@programming.devEnglish · 2 years agomessage-square186linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squarecbazero@programming.devlinkfedilinkarrow-up0·2 years agoI guess you ask for C++. There Type* can be null while Type& can’t be null. When it gets compiled Type& is compiled (mostly) to the same machinecode as Type*.
I guess you ask for C++. There Type* can be null while Type& can’t be null. When it gets compiled Type& is compiled (mostly) to the same machinecode as Type*.