mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
clang-format run.
This commit is contained in:
parent
94afa1fbd7
commit
6c7be2c8ee
@ -378,10 +378,7 @@ namespace details
|
|||||||
return ret -= n;
|
return ret -= n;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr span_iterator& operator-=(difference_type n) noexcept
|
constexpr span_iterator& operator-=(difference_type n) noexcept { return *this += -n; }
|
||||||
{
|
|
||||||
return *this += -n;
|
|
||||||
}
|
|
||||||
|
|
||||||
constexpr difference_type operator-(const span_iterator& rhs) const noexcept
|
constexpr difference_type operator-(const span_iterator& rhs) const noexcept
|
||||||
{
|
{
|
||||||
@ -515,7 +512,7 @@ public:
|
|||||||
using reference = element_type&;
|
using reference = element_type&;
|
||||||
|
|
||||||
using iterator = details::span_iterator<span<ElementType, Extent>>;
|
using iterator = details::span_iterator<span<ElementType, Extent>>;
|
||||||
using const_iterator = details::const_span_iterator<span<ElementType,Extent>>;
|
using const_iterator = details::const_span_iterator<span<ElementType, Extent>>;
|
||||||
using reverse_iterator = std::reverse_iterator<iterator>;
|
using reverse_iterator = std::reverse_iterator<iterator>;
|
||||||
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user