diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-10-27 16:50:23 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-10-27 16:50:23 +0000 |
commit | 8f0f2a1dfd96bc496c50a264d2482daa254490aa (patch) | |
tree | 480aa8d3ec7622f0b85b44490fe14c83e8190ec3 /gcc | |
parent | 202e781535186eb19b4d1bb2e737f2088d5c9141 (diff) | |
download | gcc-8f0f2a1dfd96bc496c50a264d2482daa254490aa.zip gcc-8f0f2a1dfd96bc496c50a264d2482daa254490aa.tar.gz gcc-8f0f2a1dfd96bc496c50a264d2482daa254490aa.tar.bz2 |
re PR libstdc++/37919 ([c++0x] GCC 4.4 regression r141214 of gcc c++0x stl_pair.c causes a boost 1.36 compilation to fail)
2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/37919
Revert:
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: r141388
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions