aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-06-16 22:04:53 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2015-06-16 22:04:53 +0100
commit200fcd339802e67a444ba78dd941eebe8fd8e1f5 (patch)
tree89080d583c5abe32c49745438079e3ab79e37c19 /libstdc++-v3/ChangeLog
parentba394ca69b1444dd743bcea7c5c0825837cc108e (diff)
downloadgcc-200fcd339802e67a444ba78dd941eebe8fd8e1f5.zip
gcc-200fcd339802e67a444ba78dd941eebe8fd8e1f5.tar.gz
gcc-200fcd339802e67a444ba78dd941eebe8fd8e1f5.tar.bz2
list.tcc (list::operator=(const list&), [...]): Use __addressof instead of operator&.
* include/bits/list.tcc (list::operator=(const list&), list::merge): Use __addressof instead of operator&. (list::sort): Use array-to-pointer decay instead of operator&. * include/bits/stl_list.h (list::splice): Use __addressof instead of operator&. * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter): Likewise. * include/debug/functions.h (__check_singular): Likewise. * include/debug/list (list::splice, list::merge): Likewise. * testsuite/23_containers/list/modifiers/addressof.cc: New. From-SVN: r224539
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 8c9ed9a..e6ed6ab 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,16 @@
2015-06-16 Jonathan Wakely <jwakely@redhat.com>
+ * include/bits/list.tcc (list::operator=(const list&), list::merge):
+ Use __addressof instead of operator&.
+ (list::sort): Use array-to-pointer decay instead of operator&.
+ * include/bits/stl_list.h (list::splice): Use __addressof instead of
+ operator&.
+ * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
+ Likewise.
+ * include/debug/functions.h (__check_singular): Likewise.
+ * include/debug/list (list::splice, list::merge): Likewise.
+ * testsuite/23_containers/list/modifiers/addressof.cc: New.
+
PR libstdc++/65393
* src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
copies with moves.