2009-08-14  Farid Zaripov  <faridz@apache.org>

	Merged r804283, r804285 from 4.2.x branch

	* tests/regress/23.vector.stdcxx-1037.cpp: New regression
	test for STDCXX-1037.

	STDCXX-1037
	* include/vector.cc: Assign __other's data to self before
	swaping __other with __tmp.


git-svn-id: https://svn.apache.org/repos/asf/stdcxx/trunk@804291 13f79535-47bb-0310-9956-ffa450edef68
2 files changed