gcc/libstdc++-v3 ChangeLog include/bits/stl_al ...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Tue Mar 22 00:16:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	paolo@gcc.gnu.org	2005-03-21 22:16:15

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/include/bits: stl_algobase.h 
Added files:
	libstdc++-v3/testsuite/25_algorithms/iter_swap: 20577.cc 

Log message:
	2005-03-21  Chris Jefferson  <chris@bubblescope.net>
	
	PR libstdc++/20577
	* include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
	to swap when the iterator's reference_type is a reference to its
	value_type.
	* testsuite/25_algorithms/iter_swap/20577.cc: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2936&r2=1.2937
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_algobase.h.diff?cvsroot=gcc&r1=1.42&r2=1.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/iter_swap/20577.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Libstdc++-cvs mailing list