matlab::data::Range<ItType,ElemType>
Templated C++ class to provide range-based operation support
Description
Range
objects wrap begin
and end
functions to enable range-based operations.
Class Details
Namespace: | matlab::data |
Include: | Range.hpp |
Template Parameters
|
Iterator type |
|
Element type |
Constructors
Constructor
Range(IteratorType<ElementType> begin, IteratorType<ElementType>
end)
Creates a Range
object.
|
First and last elements of range. |
|
New instance. |
None
Move Constructors
Range(Range&& rhs)
Moves contents of a Range
object to a new instance.
|
Range to move. |
|
New instance. |
None
Move Assignment Operators
Range& operator=(Range&& rhs)
Assigns the input to this Range
object.
|
Range to move. |
|
Updated instance. |
None
begin
IteratorType<ElementType>& begin()
Returns
|
First element in range. |
None
end
IteratorType<ElementType>& end()
Returns
|
End of range. |
None
Version History
Introduced in R2017b