diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-04-30 14:45:42 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-04-30 14:57:40 +0100 |
commit | 47915ef8477569b2fbd8001996aa4e542284bb24 (patch) | |
tree | 73bee53fec044b600b2df2bc154259a847b2a60e /gcc/tree-ssa-threadupdate.c | |
parent | aa475c4ac80733f85ba47b109fc1900f05e810e2 (diff) | |
download | gcc-47915ef8477569b2fbd8001996aa4e542284bb24.zip gcc-47915ef8477569b2fbd8001996aa4e542284bb24.tar.gz gcc-47915ef8477569b2fbd8001996aa4e542284bb24.tar.bz2 |
libstdc++: Use std::addressof to avoid ADL for operator& [PR 60497]
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.
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions