This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: slices ; Stroustrup & libstdc++
brent verner <brent@rcfile.org> writes:
[...]
| FWIW, Josuttis (whose book Rocks!) only gave examples using
| slice_array& valarray::operator[](slice) as an lvalue, and
| mentioned that the valarray classes, "were not designed very well.
| In fact, nobody tried to determine whether the final specification
| worked."
But that isn't a reason to write ill-formed programs. Is it?
-- Gaby