slices ; Stroustrup & libstdc++
brent verner
brent@rcfile.org
Sat Jun 17 05:09:00 GMT 2000
on Sat, Jun 17, 2000 at 04:09:04AM -0600, llewelly@dbritsch.dsl.xmission.com typed aloud:
|
| It might be worthwhile to check the errata for 3rd edition, at
| www.research.att.com/~bs/3rd_errata.html ; there are several errors
| mentioned on pgs 670-671.
yes, that was my first destination last night :)
the one errata that he lists still implies that the non-const
reference can be assigned to a local... he just uses a standard
slice_array::operator=(valarray) instead of a non-standard
slice_array::operator=(int)... it does nothing to change the
implication that the slice_array& can be locally defined :\
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."
Brent
| unfortunately, I cannot find my copy of 3rd edition, and the errata are
| hard to read without one; I cannot tell what might be relevant.
|
| > | libstdc++.so.3.0.0) wrong, or am i missing something?
| > |
| > | greetings,
| > | -gerhard
| >
| >
|
--
Damon Brent Verner
Cracker Jackî Certified Professional
brent@rcfile.org, brent@linux1.org
More information about the Libstdc++
mailing list