Topic: Defect N2134 26.5.2.3 valarray::operator[]


Author: pete@versatilecoding.com (Pete Becker)
Date: Mon, 12 Feb 2007 02:03:20 GMT
Raw View
Bo Persson wrote:
> The signature of the const operator[] has been changed to return a const
> reference.
>
> The description in paragraph 1 still says that the operator returns by
> value.
>

Editorial fix. Thanks.

--

 -- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and
Reference." (www.petebecker.com/tr1book)

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: bop@gmb.dk ("Bo Persson")
Date: Sun, 11 Feb 2007 23:47:40 GMT
Raw View
The signature of the const operator[] has been changed to return a const
reference.

The description in paragraph 1 still says that the operator returns by
value.



Bo Persson


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]