summaryrefslogtreecommitdiff
path: root/include/ostream
diff options
context:
space:
mode:
Diffstat (limited to 'include/ostream')
-rw-r--r--include/ostream2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ostream b/include/ostream
index 92f7f4dfb..f3250a708 100644
--- a/include/ostream
+++ b/include/ostream
@@ -1071,6 +1071,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
return __os << __p.get();
}
+#ifndef _LIBCPP_HAS_NO_DECLTYPE
template<class _CharT, class _Traits, class _Yp, class _Dp>
inline _LIBCPP_INLINE_VISIBILITY
typename enable_if
@@ -1082,6 +1083,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p
{
return __os << __p.get();
}
+#endif
template <class _CharT, class _Traits, size_t _Size>
basic_ostream<_CharT, _Traits>&