4.6.0
Freundlich's C++ toolkit
|
A forward range over integers.
Public Types | |
using | value_type = Int |
using | iterator = fcppt::int_iterator<Int> |
using | const_iterator = iterator |
using | size_type = fcppt::type_iso::undecorated_type<Int> |
Public Member Functions | |
constexpr | int_range (Int begin, Int end) |
Creates a range. | |
constexpr iterator | begin () const |
constexpr iterator | end () const |
constexpr size_type | size () const |
using fcppt::int_range< Int >::const_iterator = iterator |
using fcppt::int_range< Int >::iterator = fcppt::int_iterator<Int> |
using fcppt::int_range< Int >::size_type = fcppt::type_iso::undecorated_type<Int> |
using fcppt::int_range< Int >::value_type = Int |
|
constexpr |
Creates a range.
If end < begin the range will be empty.
begin | The first element in the range |
end | The element one past the end |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |