diff options
Diffstat (limited to 'libcxx/include/experimental/iterator')
| -rw-r--r-- | libcxx/include/experimental/iterator | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/libcxx/include/experimental/iterator b/libcxx/include/experimental/iterator index cf73b74e887e..a5e3dffba980 100644 --- a/libcxx/include/experimental/iterator +++ b/libcxx/include/experimental/iterator @@ -65,7 +65,7 @@ namespace std {  #  pragma GCC system_header  #endif -#if _LIBCPP_STD_VER > 11 +#if _LIBCPP_STD_VER >= 14  _LIBCPP_BEGIN_NAMESPACE_LFTS @@ -82,15 +82,15 @@ public:      typedef void                                 pointer;      typedef void                                 reference; -    ostream_joiner(ostream_type& __os, _Delim&& __d) +    _LIBCPP_HIDE_FROM_ABI ostream_joiner(ostream_type& __os, _Delim&& __d)          : __output_iter_(_VSTD::addressof(__os)), __delim_(_VSTD::move(__d)), __first_(true) {} -    ostream_joiner(ostream_type& __os, const _Delim& __d) +    _LIBCPP_HIDE_FROM_ABI ostream_joiner(ostream_type& __os, const _Delim& __d)          : __output_iter_(_VSTD::addressof(__os)), __delim_(__d), __first_(true) {}      template<typename _Tp> -    ostream_joiner& operator=(const _Tp& __v) +    _LIBCPP_HIDE_FROM_ABI ostream_joiner& operator=(const _Tp& __v)      {          if (!__first_)              *__output_iter_ << __delim_; @@ -99,9 +99,9 @@ public:          return *this;      } -    ostream_joiner& operator*()     _NOEXCEPT { return *this; } -    ostream_joiner& operator++()    _NOEXCEPT { return *this; } -    ostream_joiner& operator++(int) _NOEXCEPT { return *this; } +    _LIBCPP_HIDE_FROM_ABI ostream_joiner& operator*()     _NOEXCEPT { return *this; } +    _LIBCPP_HIDE_FROM_ABI ostream_joiner& operator++()    _NOEXCEPT { return *this; } +    _LIBCPP_HIDE_FROM_ABI ostream_joiner& operator++(int) _NOEXCEPT { return *this; }  private:      ostream_type*   __output_iter_; @@ -111,13 +111,13 @@ private:  template <class _CharT, class _Traits, class _Delim> -_LIBCPP_HIDE_FROM_ABI ostream_joiner<typename decay<_Delim>::type, _CharT, _Traits> +_LIBCPP_HIDE_FROM_ABI ostream_joiner<__decay_t<_Delim>, _CharT, _Traits>  make_ostream_joiner(basic_ostream<_CharT, _Traits>& __os, _Delim && __d) -{ return ostream_joiner<typename decay<_Delim>::type, _CharT, _Traits>(__os, _VSTD::forward<_Delim>(__d)); } +{ return ostream_joiner<__decay_t<_Delim>, _CharT, _Traits>(__os, _VSTD::forward<_Delim>(__d)); }  _LIBCPP_END_NAMESPACE_LFTS -#endif // _LIBCPP_STD_VER > 11 +#endif // _LIBCPP_STD_VER >= 14  #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20  #  include <type_traits>  | 
