Simple-Vector v1.3.0
Generators.hpp File Reference
#include "Concepts.hpp"
#include <iterator>
#include <ranges>
#include <type_traits>

Go to the source code of this file.

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...
 

Namespaces

namespace  sl
 
namespace  sl::vec
 
namespace  sl::vec::gen
 

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 >