ngn@lemy.lol to Programmer Humor@lemmy.mlEnglish · 1 year agogot himlemy.lolimagemessage-square129linkfedilinkarrow-up1222arrow-down122
arrow-up1200arrow-down1imagegot himlemy.lolngn@lemy.lol to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square129linkfedilink
minus-squareCaptain Janeway@lemmy.worldlinkfedilinkarrow-up5arrow-down1·1 year 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-up5·1 year agoOh yeah Linus famously hates C++. Still confusing syntax imo
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up1·1 year agoNot if you’ve done a lot of pointer math
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year 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?