diff options
author | Jason Merrill <jason@redhat.com> | 2012-11-10 12:27:22 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-11-10 12:27:22 -0500 |
commit | 734f50238f863ae90d2e8caa2323aaa02380ff48 (patch) | |
tree | d9b336f73d8705f567b8e2871708f2dca7cadb44 /libstdc++-v3/include/std/ostream | |
parent | 3467ad5ce6f6e456699a44d563a7ab0bf576903b (diff) | |
download | gcc-734f50238f863ae90d2e8caa2323aaa02380ff48.zip gcc-734f50238f863ae90d2e8caa2323aaa02380ff48.tar.gz gcc-734f50238f863ae90d2e8caa2323aaa02380ff48.tar.bz2 |
* many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.
From-SVN: r193392
Diffstat (limited to 'libstdc++-v3/include/std/ostream')
-rw-r--r-- | libstdc++-v3/include/std/ostream | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/ostream b/libstdc++-v3/include/std/ostream index eb8b885..8b1d14c 100644 --- a/libstdc++-v3/include/std/ostream +++ b/libstdc++-v3/include/std/ostream @@ -445,7 +445,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * For ease of use, sentries may be converted to booleans. The * return value is that of the sentry state (true == okay). */ -#ifdef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus >= 201103L explicit #endif operator bool() const @@ -588,7 +588,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION flush(basic_ostream<_CharT, _Traits>& __os) { return __os.flush(); } -#ifdef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus >= 201103L /** * @brief Generic inserter for rvalue stream * @param __os An input stream. @@ -603,7 +603,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x) { return (__os << __x); } -#endif // __GXX_EXPERIMENTAL_CXX0X__ +#endif // C++11 _GLIBCXX_END_NAMESPACE_VERSION } // namespace std |