[libc++][NFC] Reformat wrap_iter.h (#177127)
As a pre-requisite to https://github.com/llvm/llvm-project/pull/172200
This commit is contained in:
parent
2688b124b1
commit
503db9859e
@ -147,8 +147,8 @@ operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXC
|
||||
|
||||
#if _LIBCPP_STD_VER <= 17
|
||||
template <class _Iter1>
|
||||
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool
|
||||
operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT {
|
||||
_LIBCPP_HIDE_FROM_ABI
|
||||
_LIBCPP_CONSTEXPR bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT {
|
||||
return !(__x == __y);
|
||||
}
|
||||
|
||||
@ -214,9 +214,8 @@ operator<=>(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) noex
|
||||
template <class _Iter1, class _Iter2>
|
||||
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14
|
||||
#ifndef _LIBCPP_CXX03_LANG
|
||||
auto
|
||||
operator-(const __wrap_iter<_Iter1>& __x,
|
||||
const __wrap_iter<_Iter2>& __y) _NOEXCEPT->decltype(__x.base() - __y.base())
|
||||
auto operator-(const __wrap_iter<_Iter1>& __x,
|
||||
const __wrap_iter<_Iter2>& __y) _NOEXCEPT->decltype(__x.base() - __y.base())
|
||||
#else
|
||||
typename __wrap_iter<_Iter1>::difference_type
|
||||
operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user