Douglas Gregor c393ec5a87 stl_pair.h (__may_be_null_pointer_init): New.
2008-10-18  Douglas Gregor  <doug.gregor@gmail.com>

	* include/bits/stl_pair.h (__may_be_null_pointer_init): New.
	(pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
	Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
	Remove the old variadic constructor, and instead provide several
	variadic constructors that avoid failing when attempting to
	initialize a pointer from a null pointer constant.
	* testsuite/20_util/pair/moveable.cc (test3): Add new tests with
	initialization of pointers from the null pointer constant.

From-SVN: r141214
2008-10-18 23:02:17 +00:00
..
2008-01-18 08:16:51 +00:00
2008-07-15 23:23:23 +00:00
2007-07-10 19:20:51 +00:00
2007-08-23 16:16:41 +00:00
2008-05-20 18:11:34 +00:00
2007-07-10 19:20:51 +00:00
2008-05-20 18:11:34 +00:00
2007-07-10 19:20:51 +00:00
2008-09-05 17:12:02 +00:00
2008-07-15 23:23:23 +00:00
2007-02-20 19:47:35 +00:00