lysdexic@programming.devM to C++@programming.devEnglish · 11 months agoC++ Should Be C++www.open-std.orgexternal-linkmessage-square9fedilinkarrow-up121cross-posted to: hackernews@lemmy.smeargle.fanshackernews@derp.foo
arrow-up121external-linkC++ Should Be C++www.open-std.orglysdexic@programming.devM to C++@programming.devEnglish · 11 months agomessage-square9fedilinkcross-posted to: hackernews@lemmy.smeargle.fanshackernews@derp.foo
minus-squareMadhuGururajan@programming.devlinkfedilinkarrow-up3·edit-210 months agoMy point is that the design is wrong. Nobody expects [] as lvalue to update a value. Your argument is descriptive, mine is prespcriptive. I am saying that the C++ committee is wrong on this one (or whoever designed it this way)
My point is that the design is wrong. Nobody expects [] as lvalue to update a value. Your argument is descriptive, mine is prespcriptive. I am saying that the C++ committee is wrong on this one (or whoever designed it this way)