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

FreeBSD Manual Pages

  
 
  

home | help
std::shuffl...order_engine(3) C++ Standard Libarystd::shuffl...order_engine(3)

NAME
       std::shuffle_order_engine::shuffle_order_engine	  -   std::shuffle_or-
       der_engine::shuffle_order_engine

Synopsis
	  shuffle_order_engine();			    (1)	(since C++11)
	  explicit shuffle_order_engine( result_type s );   (2)	(since C++11)
	  template< class Sseq >			    (3)	(since C++11)
	  explicit shuffle_order_engine( Sseq& seq );
	  explicit shuffle_order_engine( const Engine& e ); (4)	(since C++11)
	  explicit shuffle_order_engine( Engine&& e );	    (5)	(since C++11)

	  Constructs new pseudo-random engine adaptor.

	  1) Default constructor. The underlying engine	is  also  default-con-
       structed.
	  2) Constructs	the underlying engine with s.
	  3)  Constructs  the  underlying  engine with seed sequence seq. This
       constructor only
	  participate in overload resolution if	Sseq qualifies	as  a  SeedSe-
       quence. In
	  particular,  this constructor	does not participate in	overload reso-
       lution if Sseq is
	  implicitly convertible to result_type.
	  4) Constructs	the underlying engine with a copy of e.
	  5) Move-constructs the underlying engine with	e.  e  holds  unspeci-
       fied, but valid
	  state	afterwards.

Parameters
	  s   -	integer	value to construct the underlying engine with
	  seq -	seed sequence to construct the underlying engine with
	  e   -	pseudo-random number engine to initialize with

Example
http://cppreference.com		  2022.07.31	 std::shuffl...order_engine(3)

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

home | help