Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/include/ostream
Show First 20 Lines • Show All 1,089 Lines • ▼ Show 20 Lines | |||||
basic_ostream<_CharT, _Traits>& | basic_ostream<_CharT, _Traits>& | ||||
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) | ||||
{ | { | ||||
return __os << __x.template to_string<_CharT, _Traits> | return __os << __x.template to_string<_CharT, _Traits> | ||||
(use_facet<ctype<_CharT> >(__os.getloc()).widen('0'), | (use_facet<ctype<_CharT> >(__os.getloc()).widen('0'), | ||||
use_facet<ctype<_CharT> >(__os.getloc()).widen('1')); | use_facet<ctype<_CharT> >(__os.getloc()).widen('1')); | ||||
} | } | ||||
_LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ostream<char>) | extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ostream<char>; | ||||
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS | #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS | ||||
_LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ostream<wchar_t>) | extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ostream<wchar_t>; | ||||
#endif | #endif | ||||
_LIBCPP_END_NAMESPACE_STD | _LIBCPP_END_NAMESPACE_STD | ||||
#endif // _LIBCPP_OSTREAM | #endif // _LIBCPP_OSTREAM |