##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::subtract_with_carry_engine::subtract_with_carry_engine

From cppreference.com
< cpp‎ | numeric‎ | random‎ | subtract with carry engine

[edit template]

explicit subtract_with_carry_engine( result_type value = default_seed ); | (1) | (since C++11)
template< class Sseq > explicit subtract_with_carry_engine( Sseq& s ); | (2) | (since C++11)
subtract_with_carry_engine( const subtract_with_carry_engine& ); | (3) | (since C++11) (implicitly declared)

Constructs the pseudo-random number engine.

| This section is incomplete

The overload (2) only participates in overload resolution if `Sseq` qualifies as a `SeedSequence`. In particular, it is excluded from the set of candidate functions if `Sseq` is convertible to `result_type`.

### [edit] Parameters

value | - | seed value to use in the initialization of the internal state
s | - | seed sequence to use in the initialization of the internal state

### [edit] Complexity

| This section is incomplete

### [edit] See also

seed | sets the current state of the engine (public member function) [edit]

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

- Todo without reason