summaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 18aa1778d5e..cbbc0efe652 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,14 @@
+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.
+
2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.tcc (forward_list<>::