ngn@lemy.lol to Programmer Humor@lemmy.mlEnglish · 6 months agogot himlemy.lolimagemessage-square125fedilinkarrow-up19arrow-down10
arrow-up19arrow-down1imagegot himlemy.lolngn@lemy.lol to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square125fedilink
minus-squareCaptain Janeway@lemmy.worldlinkfedilinkarrow-up0·6 months agoIt requires some decent knowledge of dereferencing and C++ “++” operator overloads. It’s not exactly trivial to glance at and feel confident you know what’s happening
minus-squareCaptain Janeway@lemmy.worldlinkfedilinkarrow-up0·6 months agoOh yeah Linus famously hates C++. Still confusing syntax imo
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up0·6 months agoNot if you’ve done a lot of pointer math
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up0·6 months agoI thought it was just incrementing the address and dereferencing it, but I don’t write C or C++. What is being overloaded there?
It requires some decent knowledge of dereferencing and C++ “++” operator overloads. It’s not exactly trivial to glance at and feel confident you know what’s happening
It’s very likely plain old C
Oh yeah Linus famously hates C++. Still confusing syntax imo
Not if you’ve done a lot of pointer math
I thought it was just incrementing the address and dereferencing it, but I don’t write C or C++. What is being overloaded there?