std::indepe...ngine::seed(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… std::independent_bits_engine::seed πŸ’…

okay so bestie, this is the C++ Standard Library manual page for std::independent_bits_engine::seed, and it’s giving β€œreinitialize the internal state of the underlying engine” energy. Let’s get into it. πŸ’–

πŸŽ€ NAME πŸŽ€

std::independent_bits_engine::seed β€” std::independent_bits_engine::seed

✨ Synopsis ✨

void seed();                    (1) (since C++11)
void seed( result_type value ); (2) (since C++11)
template< class Sseq >          (3) (since C++11)
void seed( Sseq& seq );

This one reinitializes the internal state of the underlying engine using a new seed value. Slay. ✨

  1. Seeds the underlying engine with the default seed value. Effectively calls e.seed(), where e is the underlying engine. πŸ’…
  2. Seeds the underlying engine with the seed value s. Effectively calls e.seed(value), where e is the underlying engine. 🫢
  3. Seeds the underlying engine with the seed sequence seq. Effectively calls e.seed(seq), where e is the underlying engine. This template only participates in overload resolution if Sseq qualifies as a SeedSequence. In particular, this template does not participate in overload resolution if Sseq is implicitly convertible to result_type. πŸ‘‘

🌸 Parameters 🌸

  • value β€” seed value to use in the initialization of the internal state of the underlying engine.
  • seq β€” seed sequence to use in the initialization of the internal state of the underlying engine.

🫢 Return value 🫢

(none) β€” literally nothing comes back. No return value, no extra sparkle. 😌

πŸ’€ Exceptions πŸ’€

Throws nothing. Zero exceptions, no drama, periodt. ✨


that’s the whole page, bestie! source: http://cppreference.com Β· version/date: 2024.06.10. bye and slay πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from