mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
This is another small step towards avoiding the problems described in PR 60497, by using std::addressof to avoid ADL, so that we don't require all template arguments to be complete. libstdc++-v3/ChangeLog: PR libstdc++/60497 * include/bits/basic_ios.tcc (basic_ios::copyfmt): use std::addressof. * include/bits/basic_string.tcc (basic_string::swap) (basic_string::assign): Likewise. * include/bits/deque.tcc (deque::operator=(const deque&)): Likewise. * include/bits/stl_tree.h (_Rb_tree::operator=(const * _Rb_tree&)): Likewise. * include/bits/vector.tcc (vector::operator=(const vector&)): Likewise.