32 using difference_type = std::ptrdiff_t;
33 static constexpr difference_type begin_value = 0;
34 static constexpr difference_type end_value = begin_value + 1;
41 constexpr difference_type
get_value() const noexcept
61 return m_it == begin_value;
65 constexpr bool is_end() const noexcept
67 return m_it == end_value;
72 return lhs.m_it == rhs.m_it;
77 return lhs.m_it < rhs.m_it;
89 return lhs.m_it - rhs.m_it;
#define WPI_JSON_NAMESPACE_END
Definition: abi_macros.h:59
#define WPI_JSON_NAMESPACE_BEGIN
Definition: abi_macros.h:53
Definition: primitive_iterator.h:30
primitive_iterator_t & operator++() noexcept
Definition: primitive_iterator.h:92
primitive_iterator_t & operator-=(difference_type n) noexcept
Definition: primitive_iterator.h:124
constexpr bool is_begin() const noexcept
return whether the iterator can be dereferenced
Definition: primitive_iterator.h:59
primitive_iterator_t & operator--() noexcept
Definition: primitive_iterator.h:105
void set_end() noexcept
set iterator to a defined past the end
Definition: primitive_iterator.h:53
friend constexpr bool operator<(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
Definition: primitive_iterator.h:75
constexpr bool is_end() const noexcept
return whether the iterator is at end
Definition: primitive_iterator.h:65
primitive_iterator_t operator++(int) &noexcept
Definition: primitive_iterator.h:98
primitive_iterator_t & operator+=(difference_type n) noexcept
Definition: primitive_iterator.h:118
friend constexpr bool operator==(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
Definition: primitive_iterator.h:70
constexpr difference_type get_value() const noexcept
Definition: primitive_iterator.h:41
friend constexpr difference_type operator-(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
Definition: primitive_iterator.h:87
primitive_iterator_t operator+(difference_type n) noexcept
Definition: primitive_iterator.h:80
void set_begin() noexcept
set iterator to a defined beginning
Definition: primitive_iterator.h:47
primitive_iterator_t operator--(int) &noexcept
Definition: primitive_iterator.h:111
#define JSON_PRIVATE_UNLESS_TESTED
Definition: macro_scope.h:199
detail namespace with internal helper functions
Definition: xchar.h:20
UnitTypeLhs() min(const UnitTypeLhs &lhs, const UnitTypeRhs &rhs)
Definition: base.h:3409