diff options
Diffstat (limited to 'libstdc++-v3/include/ext/numeric')
-rw-r--r-- | libstdc++-v3/include/ext/numeric | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/numeric b/libstdc++-v3/include/ext/numeric index d4a367fca52..b389177f374 100644 --- a/libstdc++-v3/include/ext/numeric +++ b/libstdc++-v3/include/ext/numeric @@ -123,6 +123,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION power(_Tp __x, _Integer __n) { return __power(__x, __n); } +#ifdef __GXX_EXPERIMENTAL_CXX0X__ + using std::iota; +#else /** * This is an SGI extension. * @ingroup SGIextensions @@ -141,9 +144,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION while (__first != __last) *__first++ = __value++; } +#endif // __GXX_EXPERIMENTAL_CXX0X__ _GLIBCXX_END_NAMESPACE_VERSION } // namespace #endif - |