This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs/libstdc++-v3 include/bits/std_valarray.h ...


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	gdr@gcc.gnu.org	2001-05-17 22:47:47

Modified files:
	libstdc++-v3/include/bits: std_valarray.h 
Added files:
	libstdc++-v3/testsuite/26_numerics: valarray_const_bracket.cc 

Log message:
	* include/bits/std_valarray.h (valarray<>::operator[] const):
	Return a const reference.
	* testsuite/26_numerics/valarray_const_bracket.cc: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libstdc++-v3/include/bits/std_valarray.h.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libstdc++-v3/testsuite/26_numerics/valarray_const_bracket.cc.diff?cvsroot=gcc&r1=1.1&r2=1.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]