std::shuffle_order_engine::seed - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::shuffle_order_engine::seed

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

[edit template]

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

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

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.

### [edit] 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

### [edit] Return value

(none)

### [edit] Exceptions

(none)

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