std::seed_seq(3cxx) | std::seed_seq(3cxx) |
NAME¶
std::seed_seq - The seed_seq class generates sequences of seeds for random number generators.
SYNOPSIS¶
#include <random>
Public Types¶
typedef uint_least32_t result_type
Public Member Functions¶
seed_seq () noexcept
template<typename _InputIterator > seed_seq (_InputIterator
__begin, _InputIterator __end)
seed_seq (const seed_seq &)=delete
template<typename _IntType , typename =
_Require<is_integral<_IntType>>> seed_seq
(std::initializer_list< _IntType > __il)
template<typename _RandomAccessIterator > void generate
(_RandomAccessIterator __begin, _RandomAccessIterator __end)
seed_seq & operator= (const seed_seq &)=delete
template<typename _OutputIterator > void param (_OutputIterator
__dest) const
size_t size () const noexcept
Detailed Description¶
The seed_seq class generates sequences of seeds for random number generators.
Definition at line 6068 of file random.
Member Typedef Documentation¶
typedef uint_least32_t std::seed_seq::result_type¶
The type of the seed vales.
Definition at line 6072 of file random.
Constructor & Destructor Documentation¶
std::seed_seq::seed_seq () [inline], [noexcept]¶
Default constructor.
Definition at line 6075 of file random.
template<typename _IntType , typename > std::seed_seq::seed_seq (std::initializer_list< _IntType > __il)¶
Definition at line 3241 of file bits/random.tcc.
template<typename _InputIterator > std::seed_seq::seed_seq (_InputIterator __begin, _InputIterator __end)¶
Definition at line 3250 of file bits/random.tcc.
Member Function Documentation¶
template<typename _RandomAccessIterator > void std::seed_seq::generate (_RandomAccessIterator __begin, _RandomAccessIterator __end)¶
Definition at line 3262 of file bits/random.tcc.
template<typename _OutputIterator > void std::seed_seq::param (_OutputIterator __dest) const [inline]¶
Definition at line 6096 of file random.
size_t std::seed_seq::size () const [inline], [noexcept]¶
Definition at line 6091 of file random.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Sun Jan 8 2023 | libstdc++ |