std::shuffle_order_engine::shuffle_order_engine - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::shuffle_order_engine::shuffle_order_engine

From cppreference.com
< cpp‎ | numeric‎ | random‎ | shuffle order engine

[edit template]

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

Constructs new pseudo-random engine adaptor.

1) Default constructor. The underlying engine is also default-constructed.
2) Constructs the underlying engine with seed sequence `seq`.
3) Constructs the underlying engine with a copy of `e`.
4) Move-constructs the underlying engine with `e`. `e` holds unspecified, but valid state afterwards.

### [edit] Parameters

seq | - | seed sequence to construct the underlying engine with
e | - | pseudo-random number engine to initialize with

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/shuffle_order_engine/shuffle_order_engine&oldid=51027"