* include/bits/list.tcc (list::operator=(const list&), list::merge):
commitc608a51e8adfc16ba254c73e131db2082bb97d99
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2015 21:04:53 +0000 (16 21:04 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2015 21:04:53 +0000 (16 21:04 +0000)
tree89080d583c5abe32c49745438079e3ab79e37c19
parent36272377179f72fa3c40234ee9f92093d6078a9c
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224539 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/list.tcc
libstdc++-v3/include/bits/stl_list.h
libstdc++-v3/include/debug/formatter.h
libstdc++-v3/include/debug/functions.h
libstdc++-v3/include/debug/list
libstdc++-v3/testsuite/23_containers/list/modifiers/addressof.cc [new file with mode: 0644]