Re:C++17 creates a practical use of the backward array index...
by ynik on Tuesday April 04, 2023 @05:00AM
(#35436939)
To allow for chaining. Consider a statement like:
In C++14, the foo() calls happened in unspecified order.
C++17 guarantees that "a(b)" and "a[b]" evaluate "a" first, which effectively means the foo() calls will now happen in order (1 to 4).
[ Parent
| on HN ]
There are no comments on this comment yet.