Simple-Vector v1.3.0
|
Generator which returns incrementing values on each invocation. More...
#include <Generators.hpp>
Public Types | |
using | value_type = std::remove_cvref_t< T > |
Public Member Functions | |
constexpr value_type | operator() () |
post-increments the stored value and returns a copy More... | |
Public Attributes | |
value_type | value {} |
Generator which returns incrementing values on each invocation.
T | value type |
using sl::vec::gen::iota< T >::value_type = std::remove_cvref_t<T> |
|
inlineconstexpr |
post-increments the stored value and returns a copy
value_type sl::vec::gen::iota< T >::value {} |