roon@lemmy.ml to Programmer Humor@programming.devEnglish · 7 months ago"I want to live forever in AI"lemmy.mlimagemessage-square166fedilinkarrow-up1698file-textcross-posted to: [email protected]
arrow-up1666image"I want to live forever in AI"lemmy.mlroon@lemmy.ml to Programmer Humor@programming.devEnglish · 7 months agomessage-square166fedilinkfile-textcross-posted to: [email protected]
minus-squarecbazero@programming.devlinkfedilinkarrow-up9arrow-down1·7 months 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*.