25namespace juce::universal_midi_packets
44 explicit
Iterator (const uint32_t* ptr,
size_t bytes) noexcept;
46 using difference_type = std::iterator_traits<const uint32_t*>::difference_type;
50 using iterator_category = std::forward_iterator_tag;
55 const auto increment = view.
size();
61 jassert (increment <= bytesRemaining);
62 bytesRemaining -= increment;
65 view =
View (view.
data() + increment);
85 return view == other.view;
114 size_t bytesRemaining = 0;
Iterator() noexcept=default
pointer operator->() noexcept
Iterator & operator++() noexcept
reference operator*() noexcept
bool operator==(const Iterator &other) const noexcept
bool operator!=(const Iterator &other) const noexcept
uint32_t size() const noexcept
const uint32_t * data() const noexcept