kblib 0.2.3
General utilities library for modern C++
kblib::trivial_seed_seq Class Reference

#include <kblib/random.h>

Public Types

using result_type = std::uint32_t
 

Public Member Functions

 trivial_seed_seq ()=default
 
template<typename InputIt >
 trivial_seed_seq (InputIt begin, InputIt end)
 
template<typename T >
 trivial_seed_seq (std::initializer_list< T > il)
 
template<typename Source >
 trivial_seed_seq (Source gen, std::size_t count)
 
template<typename Source >
 trivial_seed_seq (Source gen, std::size_t count, std::size_t discard)
 
template<typename RandomAccessIt >
auto generate (RandomAccessIt begin, RandomAccessIt end) const -> void
 
auto size () const noexcept -> std::size_t
 
template<typename OutputIt >
auto param (OutputIt dest) const -> void
 

Detailed Description

Definition at line 87 of file random.h.

Member Typedef Documentation

◆ result_type

using kblib::trivial_seed_seq::result_type = std::uint32_t

Definition at line 89 of file random.h.

Constructor & Destructor Documentation

◆ trivial_seed_seq() [1/5]

kblib::trivial_seed_seq::trivial_seed_seq ( )
default

◆ trivial_seed_seq() [2/5]

template<typename InputIt >
kblib::trivial_seed_seq::trivial_seed_seq ( InputIt  begin,
InputIt  end 
)
inline

Definition at line 93 of file random.h.

◆ trivial_seed_seq() [3/5]

template<typename T >
kblib::trivial_seed_seq::trivial_seed_seq ( std::initializer_list< T >  il)
inline

Definition at line 96 of file random.h.

◆ trivial_seed_seq() [4/5]

template<typename Source >
kblib::trivial_seed_seq::trivial_seed_seq ( Source  gen,
std::size_t  count 
)
inline

Definition at line 99 of file random.h.

◆ trivial_seed_seq() [5/5]

template<typename Source >
kblib::trivial_seed_seq::trivial_seed_seq ( Source  gen,
std::size_t  count,
std::size_t  discard 
)
inline

Definition at line 106 of file random.h.

Member Function Documentation

◆ generate()

template<typename RandomAccessIt >
auto kblib::trivial_seed_seq::generate ( RandomAccessIt  begin,
RandomAccessIt  end 
) const -> void
inline

Definition at line 113 of file random.h.

◆ param()

template<typename OutputIt >
auto kblib::trivial_seed_seq::param ( OutputIt  dest) const -> void
inline

Definition at line 146 of file random.h.

◆ size()

auto kblib::trivial_seed_seq::size ( ) const -> std::size_t
inlinenoexcept

Definition at line 141 of file random.h.


The documentation for this class was generated from the following file: