Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::indepe...ngine::seed(3)  C++ Standard Libary std::indepe...ngine::seed(3)

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 );

	  Reinitializes	 the  internal	state of the underlying	engine using a
       new seed	value.

	  1) Seeds the underlying engine with the default seed	value.	Effec-
       tively 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.	Effec-
       tively calls
	  e.seed(seq),	where  e  is the underlying engine. This template only
       participate in
	  overload resolution if Sseq qualifies	as a SeedSequence. In particu-
       lar, this
	  template does	not participate	in overload resolution if Sseq is  im-
       plicitly
	  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)

Exceptions
	  Throws nothing.

http://cppreference.com		  2022.07.31	  std::indepe...ngine::seed(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::independent_bits_engine::seed&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help