slices ; Stroustrup & libstdc++

brent verner brent@rcfile.org
Sun Jun 18 14:24:00 GMT 2000


On 18 Jun 2000 at 23:08 (+0000), Gabriel Dos Reis said:
| 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?

Of course not, but if the spec is flawed (which I'm not qualified
to determine, hence the quote by someone who might be :), it could
be impossible to write well-formed progs that adhered to the spec.

-- 
Damon Brent Verner
Cracker Jack® Certified Professional
brent@rcfile.org, brent@linux1.org


More information about the Libstdc++ mailing list