stl_numeric.h (iota): Add in C++0x mode.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 27 Jun 2008 10:47:27 +0000 (10:47 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 27 Jun 2008 10:47:27 +0000 (10:47 +0000)
commitfa52081d8605854c0c9eaf9cb5266fe685f4a457
tree7268855da81f3e3081198a9735a8844ca3bbd850
parentd9338c672687d1eea1aaf1a9593ba44f0ca14cad
stl_numeric.h (iota): Add in C++0x mode.

2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_numeric.h (iota): Add in C++0x mode.
* testsuite/util/testsuite_character.h (pod_int): Add operator++
in C++0x mode.
* testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
* testsuite/26_numerics/iota/1.cc: New.
* testsuite/26_numerics/iota/requirements/explicit_instantiation/
2.cc: Likewise.
* testsuite/26_numerics/iota/requirements/explicit_instantiation/
pod.cc: Likewise.

* include/ext/algorithm: Do not fiddle with the legacy headers.

* testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
style.
* testsuite/26_numerics/accumulate/1.cc: Likewise.
* testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
* testsuite/26_numerics/inner_product/1.cc: Likewise.

From-SVN: r137174
12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_numeric.h
libstdc++-v3/include/ext/algorithm
libstdc++-v3/testsuite/26_numerics/accumulate/1.cc
libstdc++-v3/testsuite/26_numerics/adjacent_difference/1.cc
libstdc++-v3/testsuite/26_numerics/inner_product/1.cc
libstdc++-v3/testsuite/26_numerics/iota/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/pod.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/partial_sum/1.cc
libstdc++-v3/testsuite/util/testsuite_api.h
libstdc++-v3/testsuite/util/testsuite_character.h