Templated C++ class to provide range-based operation support
Range
objects wrap begin
and end
functions to enable range-based operations.
Namespace: | matlab::data |
Include: | Range.hpp |
|
Iterator type |
|
Element type |
Range(IteratorType<ElementType> begin, IteratorType<ElementType>
end)
Creates a Range
object.
|
First and last elements of range. |
|
New instance. |
None
Range(Range&& rhs)
Moves contents of a Range
object to a new instance.
|
Range to move. |
|
New instance. |
None
Range& operator=(Range&& rhs)
Assigns the input to this Range
object.
|
Range to move. |
|
Updated instance. |
None
IteratorType<ElementType>& begin()
|
First element in range. |
None
IteratorType<ElementType>& end()
|
End of range. |
None