diff options
Diffstat (limited to 'gcc-4.4.3/libstdc++-v3/include/ext/algorithm')
-rw-r--r-- | gcc-4.4.3/libstdc++-v3/include/ext/algorithm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.4.3/libstdc++-v3/include/ext/algorithm b/gcc-4.4.3/libstdc++-v3/include/ext/algorithm index 3337d6c07..4cd1dae80 100644 --- a/gcc-4.4.3/libstdc++-v3/include/ext/algorithm +++ b/gcc-4.4.3/libstdc++-v3/include/ext/algorithm @@ -423,6 +423,9 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) __out_last - __out_first); } +#ifdef __GXX_EXPERIMENTAL_CXX0X__ + using std::is_heap; +#else /** * This is an SGI extension. * @ingroup SGIextensions @@ -462,6 +465,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) return std::__is_heap(__first, __comp, __last - __first); } +#endif // is_sorted, a predicated testing whether a range is sorted in // nondescending order. This is an extension, not part of the C++ |