GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::subtract_with_carry_engine::seed(3) C++ Standard Libary std::subtract_with_carry_engine::seed(3)

std::subtract_with_carry_engine::seed - std::subtract_with_carry_engine::seed


void seed( result_type value = 0u ); (1) (since C++11)
template< class SeedSeq > (2) (since C++11)
void seed( SeedSeq& seq );


Sets the state of the random-number engine.


1) Right after the state is set, *this == std::subtract_with_carry_engine(value) is
true.
2) Right after the state is set, *this == std::subtract_with_carry_engine(seq) is
true.


value - seed value to use to set the state
seq - seed sequence to use to set the state


Throws nothing.


1) Same as std::subtract_with_carry_engine(value).
2) Same as std::subtract_with_carry_engine(seq).


Defect reports


The following behavior-changing defect reports were applied retroactively to
previously published C++ standards.


DR Applied to Behavior as published Correct behavior
LWG 3809 C++11 the default argument of value was default_seed changed to 0u

2024.06.10 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.