Loading...
Searching...
No Matches
juce::Enumerated< Index, Value > Struct Template Reference

Detailed Description

template<typename Index, typename Value>
struct juce::Enumerated< Index, Value >

Returned when dereferencing an EnumerateIterator.

Allows querying the index associated with an element, along with a reference to the element itself.

You should never need to construct an instance of this type yourself. Instead, use the enumerate() function to construct a range that can be enumerated.

See also
enumerate()

Public Attributes

Index index
Value value

Member Data Documentation

◆ index

template<typename Index, typename Value>
Index juce::Enumerated< Index, Value >::index

◆ value

template<typename Index, typename Value>
Value juce::Enumerated< Index, Value >::value
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram