std::seed_seq(3)
π NAME π
std::seed_seq β okay so bestie, the seed_seq class generates sequences of seeds for random number generators. That's the whole job description, no cap. And yes, you're reading the std::seed_seq(3) page from the Library Functions Manual π«Ά
β¨ 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
not the =delete on the copy constructor and the copy assignment operator π she said no copies, we're exclusive fr fr. And look at all those templates β _InputIterator, _IntType, _RandomAccessIterator, _OutputIterator β she's flexible like that π
π Detailed Description π
The seed_seq class generates sequences of seeds for random number generators.
Since: C++11 β so she's been serving since 2011, a true veteran icon π
β Member Typedef Documentation β
typedef uint_least32_t std::seed_seq::result_type
The type of the seed vales. (that's "vales", verbatim, and we are not correcting her, it's canon now πβ¨)
π§ Constructor & Destructor Documentation π§
std::seed_seq::seed_seq () [inline], [noexcept]
Default constructor. That's it, that's the entry β short and sweet, she doesn't over-explain π
heads up bestie: even though the SYNOPSIS lists a whole lineup of constructors, this documentation section only spells out the default one. The others are just vibing up there in the synopsis πΈ
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
and that's the whole page, bestie!! this came to you straight from libstdc++, on the std::seed_seq(3) page β mwah, go forth and seed your random number generators responsibly πππ
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms