Re:C++17 creates a practical use of the backward array index...
by leni536 on Tuesday April 04, 2023 @01:52AM
(#35435631)
Apart from sequencing rules, a[i] may also differ in value category. If one of the operands is an array rvalue then the result is also rvalue. *(a + i) can't propagate value category this way, dereferencing always produces an lvalue.
[ Parent
| on HN ]
There are no comments on this comment yet.