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

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


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	paolo@gcc.gnu.org	2005-03-22 12:08:42

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-22  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&only_with_tag=gcc-4_0-branch&r1=1.2917.2.13&r2=1.2917.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_algobase.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.42&r2=1.42.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/iter_swap/20577.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



More information about the Libstdc++-cvs mailing list