Simple-Vector v1.3.0
|
Generator which repeatedly returns the same value on each invocation. More...
#include <Generators.hpp>
Public Types | |
using | value_type = std::remove_cvref_t< T > |
Public Member Functions | |
constexpr value_type | operator() () const noexcept(std::is_nothrow_copy_constructible_v< value_type >) |
Copies the stored value and returns it. More... | |
Public Attributes | |
const value_type | value {} |
Generator which repeatedly returns the same value on each invocation.
T | value type |
using sl::vec::gen::fill< T >::value_type = std::remove_cvref_t<T> |
|
inlineconstexprnoexcept |
Copies the stored value and returns it.
const value_type sl::vec::gen::fill< T >::value {} |