33 ms·
With C++20, use of comma expressions as second argument of a subscript operator got deprecated.
by tbrgmnn 6y ago
With C++20, use of comma expressions as second argument of a subscript operator got deprecated.
- gpderetta 6y ago... with the intention of allowing multidimensional indexing in the next standard.
- thesz 6y agoAnd it is awful. See my comment about yalsat's use of asserts() above.
- Animats 6y agoFinally! Multidimensional array discussions tended to dissolve into bikeshedding. Some people wanted the ability to store an array as either transpose, that is, by row or by column. Then that had to be extended to N dimensions. That added a lot of complexity to support a rare use case. Then the proposal got so complex it was shelved. All this is in old USENET comp.lang.c++, if that hasn't been lost yet.