Project OpenGeode
class TRange
This class can be used to iterate over integer loop. Example: = C++98 loop = for( index_t i = 0; i < n; i++ )
= C++11-like loop = for( const auto i : Range{ n } ) { // do something }
cpp
Inherits from BaseRange<Type, IncrementOperator>
Inherits from BaseRange<Type, IncrementOperator>
Functions
TRange
cpp
public void TRange<Type>(T1 begin, T2 end)
public void TRange<Type>(T1 begin, T2 end)
TRange
cpp
public void TRange<Type>(T end)
public void TRange<Type>(T end)
begin
cpp
public const TRange<Type> & begin()
public const TRange<Type> & begin()
end
cpp
public const TRange<Type> & end()
public const TRange<Type> & end()
operator*
cpp
public Type operator*()
public Type operator*()