P1614R2 Adding Spaceship <=> To The Library added operator== to <valarray>'s slice, which contains size_t start(), size(), stride() (see WG21-N4878 [class.slice.overview]).
gslice, which contains size_t start() and valarray<size_t> size(), stride() (see N4878 [class.gslice.overview]), wasn't mentioned in P1614R2. As the valarray members are equality comparable, it would seem consistent and reasonable to add an equality operator to gslice. This seems like an oversight (or if it was intentional, an explanation was missing).
This would be an easy Library Evolution issue to file, or even a small proposal for someone to write.
Originally noticed by statementreply.
P1614R2 Adding Spaceship
<=>To The Library addedoperator==to<valarray>'sslice, which containssize_t start(), size(), stride()(see WG21-N4878 [class.slice.overview]).gslice, which containssize_t start()andvalarray<size_t> size(), stride()(see N4878 [class.gslice.overview]), wasn't mentioned in P1614R2. As thevalarraymembers are equality comparable, it would seem consistent and reasonable to add an equality operator togslice. This seems like an oversight (or if it was intentional, an explanation was missing).This would be an easy Library Evolution issue to file, or even a small proposal for someone to write.
Originally noticed by statementreply.