This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r172073 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: jyasskin
Date: Thu Apr  7 04:11:12 2011
New Revision: 172073

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172073
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/ext/iota/
    trunk/libstdc++-v3/testsuite/ext/iota/cxx0x.cc
    trunk/libstdc++-v3/testsuite/ext/is_sorted/
    trunk/libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/algorithm
    trunk/libstdc++-v3/include/ext/numeric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]