Loading...
Searching...
No Matches
juce_Enumerate.h File Reference

Classes

struct  juce::Enumerated< Index, Value >
 Returned when dereferencing an EnumerateIterator. More...
class  juce::EnumerateIterator< Iter, Index >
 An iterator that wraps some other iterator, keeping track of the relative position of that iterator based on calls to arithmetic operators such as operator++(), operator--(), operator+(), and operator-(). More...
class  juce::IteratorPair< Begin, End >
 Wraps a pair of iterators, providing member begin() and end() functions that return those iterators. More...

Namespaces

namespace  juce

Functions

template<typename Begin, typename End = Begin>
constexpr auto juce::makeRange (Begin begin, End end)
 Given two iterators "begin" and "end", returns an IteratorPair with a member begin() and end() function.
template<typename Range, typename Index = detail::withAdlSize::AdlSignedSize<Range>>
constexpr auto juce::enumerate (Range &&range, Index startingValue={})
 Given a range and an optional starting offset, returns an IteratorPair that holds EnumerateIterators wrapping the begin() and end() of the range.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram