diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-01-29 00:47:38 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-01-29 00:47:38 +0000 |
commit | f7f07df5e2ba0047b5ffefe7982058c73759b5cf (patch) | |
tree | 43620b17d2494ce0e352c3cf7d131d89d1f0e5c2 /gcc/omp-simd-clone.c | |
parent | 2104ca71da1120a7b2b35e3178624b04d30bdfde (diff) | |
download | gcc-f7f07df5e2ba0047b5ffefe7982058c73759b5cf.zip gcc-f7f07df5e2ba0047b5ffefe7982058c73759b5cf.tar.gz gcc-f7f07df5e2ba0047b5ffefe7982058c73759b5cf.tar.bz2 |
Avoid ambiguity between C++2a std::erase_if and LFTS version
These calls should have been qualified to avoid ADL anyway, but in C++2a
it becomes essential to qualify the calls in experimental::erase because
std::erase_if is also declared and the calls become ambiguous.
* include/experimental/forward_list (experimental::erase): Qualify
call to erase_if.
* include/experimental/list (experimental::erase): Likewise.
* include/std/forward_list (std::erase): Likewise.
* include/std/list (std::erase): Likewise.
From-SVN: r268356
Diffstat (limited to 'gcc/omp-simd-clone.c')
0 files changed, 0 insertions, 0 deletions