clang-format run.

This commit is contained in:
Neil MacIntosh 2016-08-01 21:41:20 -07:00
parent 94afa1fbd7
commit 6c7be2c8ee

View File

@ -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>;