From 200fcd339802e67a444ba78dd941eebe8fd8e1f5 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 16 Jun 2015 22:04:53 +0100 Subject: 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 --- libstdc++-v3/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libstdc++-v3/ChangeLog') 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 + * 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. -- cgit v1.1