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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array_allocator | Loading commit data... | |
bitmap_allocator | Loading commit data... | |
codecvt | Loading commit data... | |
concurrence_lock_error | Loading commit data... | |
concurrence_unlock_error | Loading commit data... | |
debug_allocator | Loading commit data... | |
enc_filebuf | Loading commit data... | |
ext_pointer | Loading commit data... | |
forced_error | Loading commit data... | |
iota | Loading commit data... | |
is_heap | Loading commit data... | |
is_sorted | Loading commit data... | |
malloc_allocator | Loading commit data... | |
mt_allocator | Loading commit data... | |
new_allocator | Loading commit data... | |
numeric_traits | Loading commit data... | |
pb_ds | Loading commit data... | |
pool_allocator | Loading commit data... | |
profile | Loading commit data... | |
rope | Loading commit data... | |
slist | Loading commit data... | |
stdio_filebuf | Loading commit data... | |
stdio_sync_filebuf | Loading commit data... | |
throw_allocator | Loading commit data... | |
throw_value | Loading commit data... | |
type_traits | Loading commit data... | |
vstring | Loading commit data... | |
concept_checks.cc | Loading commit data... | |
headers.cc | Loading commit data... | |
median.cc | Loading commit data... | |
pod_char_traits.cc | Loading commit data... |