|
@@ -1241,50 +1241,50 @@ template <class _Iter> class __wrap_iter;
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator==(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator==(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator<(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator<(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator!=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator!=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator>(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator>(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator>=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator>=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
#ifndef _LIBCPP_CXX03_LANG
|
|
#ifndef _LIBCPP_CXX03_LANG
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
auto
|
|
auto
|
|
-operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
-> decltype(__x.base() - __y.base());
|
|
-> decltype(__x.base() - __y.base());
|
|
#else
|
|
#else
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_INLINE_VISIBILITY
|
|
_LIBCPP_INLINE_VISIBILITY
|
|
typename __wrap_iter<_Iter1>::difference_type
|
|
typename __wrap_iter<_Iter1>::difference_type
|
|
-operator-(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator-(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
template <class _Iter>
|
|
template <class _Iter>
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
__wrap_iter<_Iter>
|
|
__wrap_iter<_Iter>
|
|
-operator+(typename __wrap_iter<_Iter>::difference_type, __wrap_iter<_Iter>) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+operator+(typename __wrap_iter<_Iter>::difference_type, __wrap_iter<_Iter>) _NOEXCEPT;
|
|
|
|
|
|
template <class _Ip, class _Op> _Op _LIBCPP_INLINE_VISIBILITY copy(_Ip, _Ip, _Op);
|
|
template <class _Ip, class _Op> _Op _LIBCPP_INLINE_VISIBILITY copy(_Ip, _Ip, _Op);
|
|
template <class _B1, class _B2> _B2 _LIBCPP_INLINE_VISIBILITY copy_backward(_B1, _B1, _B2);
|
|
template <class _B1, class _B2> _B2 _LIBCPP_INLINE_VISIBILITY copy_backward(_B1, _B1, _B2);
|
|
@@ -1328,7 +1328,7 @@ public:
|
|
private:
|
|
private:
|
|
iterator_type __i;
|
|
iterator_type __i;
|
|
public:
|
|
public:
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter() _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter() _NOEXCEPT
|
|
#if _LIBCPP_STD_VER > 11
|
|
#if _LIBCPP_STD_VER > 11
|
|
: __i{}
|
|
: __i{}
|
|
#endif
|
|
#endif
|
|
@@ -1339,7 +1339,7 @@ public:
|
|
}
|
|
}
|
|
template <class _Up> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
template <class _Up> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
__wrap_iter(const __wrap_iter<_Up>& __u,
|
|
__wrap_iter(const __wrap_iter<_Up>& __u,
|
|
- typename enable_if<is_convertible<_Up, iterator_type>::value>::type* = 0) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ typename enable_if<is_convertible<_Up, iterator_type>::value>::type* = 0) _NOEXCEPT
|
|
: __i(__u.base())
|
|
: __i(__u.base())
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
@@ -1369,7 +1369,7 @@ public:
|
|
__get_db()->__erase_i(this);
|
|
__get_db()->__erase_i(this);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG reference operator*() const _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG reference operator*() const _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
|
|
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
|
|
@@ -1377,7 +1377,7 @@ public:
|
|
#endif
|
|
#endif
|
|
return *__i;
|
|
return *__i;
|
|
}
|
|
}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG pointer operator->() const _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG pointer operator->() const _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
|
|
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
|
|
@@ -1385,7 +1385,7 @@ public:
|
|
#endif
|
|
#endif
|
|
return (pointer)_VSTD::addressof(*__i);
|
|
return (pointer)_VSTD::addressof(*__i);
|
|
}
|
|
}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator++() _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator++() _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
|
|
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(this),
|
|
@@ -1394,10 +1394,10 @@ public:
|
|
++__i;
|
|
++__i;
|
|
return *this;
|
|
return *this;
|
|
}
|
|
}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator++(int) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator++(int) _NOEXCEPT
|
|
{__wrap_iter __tmp(*this); ++(*this); return __tmp;}
|
|
{__wrap_iter __tmp(*this); ++(*this); return __tmp;}
|
|
|
|
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator--() _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator--() _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__decrementable(this),
|
|
_LIBCPP_ASSERT(__get_const_db()->__decrementable(this),
|
|
@@ -1406,11 +1406,11 @@ public:
|
|
--__i;
|
|
--__i;
|
|
return *this;
|
|
return *this;
|
|
}
|
|
}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator--(int) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator--(int) _NOEXCEPT
|
|
{__wrap_iter __tmp(*this); --(*this); return __tmp;}
|
|
{__wrap_iter __tmp(*this); --(*this); return __tmp;}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator+ (difference_type __n) const _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator+ (difference_type __n) const _NOEXCEPT
|
|
{__wrap_iter __w(*this); __w += __n; return __w;}
|
|
{__wrap_iter __w(*this); __w += __n; return __w;}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator+=(difference_type __n) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator+=(difference_type __n) _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__addable(this, __n),
|
|
_LIBCPP_ASSERT(__get_const_db()->__addable(this, __n),
|
|
@@ -1419,11 +1419,11 @@ public:
|
|
__i += __n;
|
|
__i += __n;
|
|
return *this;
|
|
return *this;
|
|
}
|
|
}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator- (difference_type __n) const _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator- (difference_type __n) const _NOEXCEPT
|
|
{return *this + (-__n);}
|
|
{return *this + (-__n);}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator-=(difference_type __n) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator-=(difference_type __n) _NOEXCEPT
|
|
{*this += -__n; return *this;}
|
|
{*this += -__n; return *this;}
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG reference operator[](difference_type __n) const _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG reference operator[](difference_type __n) const _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__subscriptable(this, __n),
|
|
_LIBCPP_ASSERT(__get_const_db()->__subscriptable(this, __n),
|
|
@@ -1432,7 +1432,7 @@ public:
|
|
return __i[__n];
|
|
return __i[__n];
|
|
}
|
|
}
|
|
|
|
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG iterator_type base() const _NOEXCEPT_DEBUG {return __i;}
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG iterator_type base() const _NOEXCEPT {return __i;}
|
|
|
|
|
|
private:
|
|
private:
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
@@ -1441,7 +1441,7 @@ private:
|
|
__get_db()->__insert_ic(this, __p);
|
|
__get_db()->__insert_ic(this, __p);
|
|
}
|
|
}
|
|
#else
|
|
#else
|
|
- _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter(iterator_type __x) _NOEXCEPT_DEBUG : __i(__x) {}
|
|
|
|
|
|
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter(iterator_type __x) _NOEXCEPT : __i(__x) {}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
template <class _Up> friend class __wrap_iter;
|
|
template <class _Up> friend class __wrap_iter;
|
|
@@ -1452,50 +1452,50 @@ private:
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
bool
|
|
bool
|
|
- operator==(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator==(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
bool
|
|
bool
|
|
- operator<(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator<(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
bool
|
|
bool
|
|
- operator!=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator!=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
bool
|
|
bool
|
|
- operator>(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator>(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
bool
|
|
bool
|
|
- operator>=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator>=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
bool
|
|
bool
|
|
- operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
|
|
|
|
#ifndef _LIBCPP_CXX03_LANG
|
|
#ifndef _LIBCPP_CXX03_LANG
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
auto
|
|
auto
|
|
- operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
-> decltype(__x.base() - __y.base());
|
|
-> decltype(__x.base() - __y.base());
|
|
#else
|
|
#else
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
typename __wrap_iter<_Iter1>::difference_type
|
|
typename __wrap_iter<_Iter1>::difference_type
|
|
- operator-(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator-(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
template <class _Iter1>
|
|
template <class _Iter1>
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
_LIBCPP_CONSTEXPR_IF_NODEBUG friend
|
|
__wrap_iter<_Iter1>
|
|
__wrap_iter<_Iter1>
|
|
- operator+(typename __wrap_iter<_Iter1>::difference_type, __wrap_iter<_Iter1>) _NOEXCEPT_DEBUG;
|
|
|
|
|
|
+ operator+(typename __wrap_iter<_Iter1>::difference_type, __wrap_iter<_Iter1>) _NOEXCEPT;
|
|
|
|
|
|
template <class _Ip, class _Op> friend _Op copy(_Ip, _Ip, _Op);
|
|
template <class _Ip, class _Op> friend _Op copy(_Ip, _Ip, _Op);
|
|
template <class _B1, class _B2> friend _B2 copy_backward(_B1, _B1, _B2);
|
|
template <class _B1, class _B2> friend _B2 copy_backward(_B1, _B1, _B2);
|
|
@@ -1526,7 +1526,7 @@ private:
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return __x.base() == __y.base();
|
|
return __x.base() == __y.base();
|
|
}
|
|
}
|
|
@@ -1534,7 +1534,7 @@ operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEX
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__less_than_comparable(&__x, &__y),
|
|
_LIBCPP_ASSERT(__get_const_db()->__less_than_comparable(&__x, &__y),
|
|
@@ -1546,7 +1546,7 @@ operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXC
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return !(__x == __y);
|
|
return !(__x == __y);
|
|
}
|
|
}
|
|
@@ -1554,7 +1554,7 @@ operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEX
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return __y < __x;
|
|
return __y < __x;
|
|
}
|
|
}
|
|
@@ -1562,7 +1562,7 @@ operator>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXC
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator>=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator>=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return !(__x < __y);
|
|
return !(__x < __y);
|
|
}
|
|
}
|
|
@@ -1570,7 +1570,7 @@ operator>=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEX
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return !(__y < __x);
|
|
return !(__y < __x);
|
|
}
|
|
}
|
|
@@ -1578,7 +1578,7 @@ operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEX
|
|
template <class _Iter1>
|
|
template <class _Iter1>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return !(__x == __y);
|
|
return !(__x == __y);
|
|
}
|
|
}
|
|
@@ -1586,7 +1586,7 @@ operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEX
|
|
template <class _Iter1>
|
|
template <class _Iter1>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return __y < __x;
|
|
return __y < __x;
|
|
}
|
|
}
|
|
@@ -1594,7 +1594,7 @@ operator>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXC
|
|
template <class _Iter1>
|
|
template <class _Iter1>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator>=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator>=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return !(__x < __y);
|
|
return !(__x < __y);
|
|
}
|
|
}
|
|
@@ -1602,7 +1602,7 @@ operator>=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEX
|
|
template <class _Iter1>
|
|
template <class _Iter1>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
bool
|
|
bool
|
|
-operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
return !(__y < __x);
|
|
return !(__y < __x);
|
|
}
|
|
}
|
|
@@ -1611,7 +1611,7 @@ operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEX
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
auto
|
|
auto
|
|
-operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
-> decltype(__x.base() - __y.base())
|
|
-> decltype(__x.base() - __y.base())
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
@@ -1624,7 +1624,7 @@ operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXC
|
|
template <class _Iter1, class _Iter2>
|
|
template <class _Iter1, class _Iter2>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
typename __wrap_iter<_Iter1>::difference_type
|
|
typename __wrap_iter<_Iter1>::difference_type
|
|
-operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
|
{
|
|
{
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
#if _LIBCPP_DEBUG_LEVEL >= 2
|
|
_LIBCPP_ASSERT(__get_const_db()->__less_than_comparable(&__x, &__y),
|
|
_LIBCPP_ASSERT(__get_const_db()->__less_than_comparable(&__x, &__y),
|
|
@@ -1638,7 +1638,7 @@ template <class _Iter>
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG
|
|
__wrap_iter<_Iter>
|
|
__wrap_iter<_Iter>
|
|
operator+(typename __wrap_iter<_Iter>::difference_type __n,
|
|
operator+(typename __wrap_iter<_Iter>::difference_type __n,
|
|
- __wrap_iter<_Iter> __x) _NOEXCEPT_DEBUG
|
|
|
|
|
|
+ __wrap_iter<_Iter> __x) _NOEXCEPT
|
|
{
|
|
{
|
|
__x += __n;
|
|
__x += __n;
|
|
return __x;
|
|
return __x;
|