Title
Does .seed() completely reset state of engine?
Status
nad
Section
[rand.eng]
Submitter
Thomas Plum

Created on 2013-12-02.00:00:00 last changed 115 months ago

Messages

Date: 2015-05-22.19:58:39

Proposed resolution:

Suggested resolution: NAD

Date: 2015-05-05.00:00:00

[ 2015-05-05 Lenexa: Move to NAD ]

Date: 2014-02-15.00:00:00

[ 2014-02-13, Issaquah ]

Walter Brown says that Table 117 makes this very clear, and that the answer is "Yes"

Suggested resolution: NAD

Date: 2013-12-02.00:00:00

With regard to Random number engine class templates [rand.eng], the Standard can be read in two different ways: when the member function

.seed(result_type s = default_seed)

is invoked, is all associated state (such as carry) reset to the same state that would have been created by the constructor

explicit engine-type(result_type s = default_seed)

or is the exact state unspecified?

Implementations differ.

History
Date User Action Args
2015-05-22 19:58:39adminsetmessages: + msg7447
2015-05-22 19:58:39adminsetstatus: new -> nad
2014-02-14 06:11:20adminsetmessages: + msg6851
2014-02-14 06:06:58adminsetmessages: + msg6850
2013-12-02 00:00:00admincreate