summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/ext/numeric
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-10 17:27:22 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-10 17:27:22 +0000
commit0c8766b14373cdc13b9c966130ec877e0fa29865 (patch)
treed9b336f73d8705f567b8e2871708f2dca7cadb44 /libstdc++-v3/include/ext/numeric
parentf955ca518bf9bfa53aabe55c11a67c6c5a2a3581 (diff)
downloadppe42-gcc-0c8766b14373cdc13b9c966130ec877e0fa29865.tar.gz
ppe42-gcc-0c8766b14373cdc13b9c966130ec877e0fa29865.zip
* many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext/numeric')
-rw-r--r--libstdc++-v3/include/ext/numeric4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/ext/numeric b/libstdc++-v3/include/ext/numeric
index b389177f374..d869302e6a1 100644
--- a/libstdc++-v3/include/ext/numeric
+++ b/libstdc++-v3/include/ext/numeric
@@ -123,7 +123,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
power(_Tp __x, _Integer __n)
{ return __power(__x, __n); }
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#if __cplusplus >= 201103L
using std::iota;
#else
/**
@@ -144,7 +144,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
while (__first != __last)
*__first++ = __value++;
}
-#endif // __GXX_EXPERIMENTAL_CXX0X__
+#endif // C++11
_GLIBCXX_END_NAMESPACE_VERSION
} // namespace
OpenPOWER on IntegriCloud