![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
#include <InfiniteList.hpp>
Classes | |
class | Iterator |
Public Types | |
using | value_type = Type |
using | iterator = Iterator |
Public Member Functions | |
SIV3D_NODISCARD_CXX20 | InfiniteList (Type startValue=0, Type step=1) |
iterator | begin () const |
iterator | end () const |
value_type | startValue () const |
value_type | step () const |
template<class Fty > | |
auto | filter (Fty f) const |
template<class Fty > | |
auto | map (Fty f) const |
Array< value_type > | take (size_t n) const |
template<class Fty > | |
Array< value_type > | take_while (Fty f) const |
using s3d::InfiniteList< Type >::iterator = Iterator |
using s3d::InfiniteList< Type >::value_type = Type |
SIV3D_NODISCARD_CXX20 s3d::InfiniteList< Type >::InfiniteList | ( | Type | startValue = 0 , |
Type | step = 1 |
||
) |
iterator s3d::InfiniteList< Type >::begin | ( | ) | const |
iterator s3d::InfiniteList< Type >::end | ( | ) | const |
value_type s3d::InfiniteList< Type >::startValue | ( | ) | const |
value_type s3d::InfiniteList< Type >::step | ( | ) | const |
Array<value_type> s3d::InfiniteList< Type >::take | ( | size_t | n | ) | const |
Array<value_type> s3d::InfiniteList< Type >::take_while | ( | Fty | f | ) | const |