summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ostream
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-18 23:38:41 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-18 23:38:41 +0000
commitf0aca21e094d2a3f14afc9cbe82878d256e40bd1 (patch)
tree513c72f4b0ebf42de0ecd633ba99dbe39f5f5361 /libcxx/include/ostream
parentddda456a76b2809e818c82d90252f42511900b12 (diff)
downloadbcm5719-llvm-f0aca21e094d2a3f14afc9cbe82878d256e40bd1.tar.gz
bcm5719-llvm-f0aca21e094d2a3f14afc9cbe82878d256e40bd1.zip
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library
llvm-svn: 300626
Diffstat (limited to 'libcxx/include/ostream')
-rw-r--r--libcxx/include/ostream12
1 files changed, 5 insertions, 7 deletions
diff --git a/libcxx/include/ostream b/libcxx/include/ostream
index 3d9be8b7aa5..ca2c83f74a3 100644
--- a/libcxx/include/ostream
+++ b/libcxx/include/ostream
@@ -165,13 +165,11 @@ public:
{ this->init(__sb); }
virtual ~basic_ostream();
protected:
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#ifndef _LIBCPP_CXX03_LANG
inline _LIBCPP_INLINE_VISIBILITY
basic_ostream(basic_ostream&& __rhs);
-#endif
// 27.7.2.3 Assign/swap
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
inline _LIBCPP_INLINE_VISIBILITY
basic_ostream& operator=(basic_ostream&& __rhs);
#endif
@@ -290,7 +288,7 @@ basic_ostream<_CharT, _Traits>::sentry::~sentry()
}
}
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#ifndef _LIBCPP_CXX03_LANG
template <class _CharT, class _Traits>
basic_ostream<_CharT, _Traits>::basic_ostream(basic_ostream&& __rhs)
@@ -306,7 +304,7 @@ basic_ostream<_CharT, _Traits>::operator=(basic_ostream&& __rhs)
return *this;
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#endif // _LIBCPP_CXX03_LANG
template <class _CharT, class _Traits>
basic_ostream<_CharT, _Traits>::~basic_ostream()
@@ -1023,7 +1021,7 @@ flush(basic_ostream<_CharT, _Traits>& __os)
return __os;
}
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#ifndef _LIBCPP_CXX03_LANG
template <class _Stream, class _Tp>
inline _LIBCPP_INLINE_VISIBILITY
@@ -1039,7 +1037,7 @@ operator<<(_Stream&& __os, const _Tp& __x)
return _VSTD::move(__os);
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#endif // _LIBCPP_CXX03_LANG
template<class _CharT, class _Traits, class _Allocator>
basic_ostream<_CharT, _Traits>&
OpenPOWER on IntegriCloud