OpenSiv3D  v0.6.5
C++20 framework for creative coding
Step.hpp File Reference
#include "Common.hpp"
#include "Array.hpp"
#include "detail/Step.ipp"

Classes

class  s3d::Step< T, N, S >
 

Namespaces

 s3d
 

Functions

template<class T , class N , class S = int32, std::enable_if_t< std::is_integral_v< N >> * = nullptr>
constexpr auto s3d::step (T a, N n, S s=1)
 
constexpr SIV3D_CONCEPT_INTEGRAL auto s3d::step (Int n)
 
constexpr SIV3D_CONCEPT_INTEGRAL auto s3d::step_backward (Int n)
 
template<class T , class U , class S = int32, class StartType = std::common_type_t<T, U>, class CounterType = std::common_type_t<std::size_t, StartType>, std::enable_if_t< std::is_integral_v< StartType >> * = nullptr>
constexpr auto s3d::step_to (T a, U b, S s=1)
 
template<class T , class U , class S = int32, class StartType = std::common_type_t<T, U>, class CounterType = std::common_type_t<std::size_t, StartType>, std::enable_if_t< std::is_integral_v< StartType >> * = nullptr>
constexpr auto s3d::step_until (T a, U b, S s=1)
 
constexpr SIV3D_CONCEPT_INTEGRAL auto s3d::Iota (Int end)
 
template<class T , class U , class S = int32, class StartType = std::common_type_t<T, U>, class CounterType = std::common_type_t<std::size_t, StartType>, std::enable_if_t< std::is_integral_v< StartType >> * = nullptr>
constexpr auto s3d::Iota (T beg, U end, S step=1)
 
template<class T , class U , class S = int32, class StartType = std::common_type_t<T, U>, class CounterType = std::common_type_t<std::size_t, StartType>, std::enable_if_t< std::is_integral_v< StartType >> * = nullptr>
constexpr auto s3d::Range (T beg, U end, S step=1)