diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-10-30 15:48:23 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-10-30 15:48:23 +0000 |
commit | d03eca30d746a097635d8dedc9e059c6b2f80907 (patch) | |
tree | bb65b34ac6799c09bd0cb3bef66acbf9ac1cc319 /gcc/c-family/c-cppbuiltin.c | |
parent | 9aeb3bef2cae234dbb90609392e536bafc09365c (diff) | |
download | gcc-d03eca30d746a097635d8dedc9e059c6b2f80907.zip gcc-d03eca30d746a097635d8dedc9e059c6b2f80907.tar.gz gcc-d03eca30d746a097635d8dedc9e059c6b2f80907.tar.bz2 |
Remove some more using-declarations from namespace __gnu_cxx
Similar to some recent patches, this removes using-declarations for
names from namespace std, so that they are not redeclared in __gnu_cxx.
* include/bits/stl_iterator.h (namespace __gnu_cxx): Remove
using-declarations for std::iterator and std::iterator_traits.
(__gnu_cxx::__normal_iterator): Qualify iterator_traits.
* include/ext/algorithm (namespace __gnu_cxx): Remove
using-declarations for std names and qualify those names when used.
Also refer to std::min in parentheses to protect against function-like
macros.
* include/ext/rc_string_base.h: Qualify iterator_traits.
* include/ext/sso_string_base.h: Qualify iterator_traits.
From-SVN: r277630
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions