Defect N2134 26.5.2.3 valarray::operator[]

Defect N2134 26.5.2.3 valarray::operator[]

Post by bop » Tue, 13 Feb 2007 08:47:40


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.yqcomputer.com/ ]
 
 
 

Defect N2134 26.5.2.3 valarray::operator[]

Post by pete » Tue, 13 Feb 2007 11:03:20


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.yqcomputer.com/ ]