18
C++ Should Be C++ (www.open-std.org)
you are viewing a single comment's thread
view the rest of the comments
[-] MadhuGururajan@programming.dev 3 points 2 years ago* (last edited 2 years ago)

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)

this post was submitted on 24 Dec 2023
18 points (84.6% liked)

C++

2357 readers
17 users here now

The center for all discussion and news regarding C++.

Rules

founded 3 years ago
MODERATORS