Simple-Vector v1.3.0
Generators

Generators are used to conveniently initialize Vector objects. More...

Classes

struct  sl::vec::gen::fill< T >
 Generator which repeatedly returns the same value on each invocation. More...
 
struct  sl::vec::gen::iota< T >
 Generator which returns incrementing values on each invocation. More...
 
class  sl::vec::gen::range< TRange >
 Generator which retrieves its values out of the given source iterator. More...
 

Functions

template<value_type T>
 sl::vec::gen::fill (T) -> fill< T >
 
template<value_type T>
 sl::vec::gen::iota (T) -> iota< T >
 
template<std::ranges::forward_range TRange>
 sl::vec::gen::range (TRange &&) -> range< TRange >
 

Detailed Description

Generators are used to conveniently initialize Vector objects.

Function Documentation

◆ fill()

template<value_type T>
sl::vec::gen::fill ( ) -> fill< T >

◆ iota()

template<value_type T>
sl::vec::gen::iota ( ) -> iota< T >

◆ range()

template<std::ranges::forward_range TRange>
sl::vec::gen::range ( TRange &&  ) -> range< TRange >