diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2011-04-07 04:11:12 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gcc.gnu.org> | 2011-04-07 04:11:12 +0000 |
commit | 7c16382a3ac63d118295dd2c039e4032738d2a60 (patch) | |
tree | f92cd6d3626cf4f136bce1ba2332932aae9bdace /gcc | |
parent | 030759ae9125ca346ae5ca3baaedd39f69552025 (diff) | |
download | gcc-7c16382a3ac63d118295dd2c039e4032738d2a60.zip gcc-7c16382a3ac63d118295dd2c039e4032738d2a60.tar.gz gcc-7c16382a3ac63d118295dd2c039e4032738d2a60.tar.bz2 |
In C++0x mode, import iota and is_sorted from namespace std into namespace __gnu_cxx to avoid ambiguous call errors.
In C++0x mode, import iota and is_sorted from namespace std into
namespace __gnu_cxx to avoid ambiguous call errors. copy_n would be a
good candidate for this too, except it was standardized with a
different return type.
Tested:
`make -k check-c++` on x86_64-unknown-linux-gnu.
libstdc++-v3/ChangeLog:
2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
* include/ext/algorithm (is_sorted): In C++0x mode import from
namespace std.
* include/ext/numeric (iota): In C++0x mode import from
namespace std.
* testsuite/ext/is_sorted/cxx0x.cc: New.
* testsuite/ext/iota/cxx0x.cc: New.
From-SVN: r172073
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions