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