On 07/14/2014 04:14 AM, Paolo Carlini wrote:
Hi,

On 07/14/2014 09:58 AM, Andreas Schwab wrote:
FAIL: ext/random/arcsine_distribution/cons/default.cc (test for excess errors)
Excess errors:
/daten/aranym/gcc/gcc-20140714/libstdc++-v3/include/ext/random.tcc:1587:22: error: '_M_n' was not declared in this scope /daten/aranym/gcc/gcc-20140714/libstdc++-v3/include/ext/random.tcc:1598:22: error: '_M_n' was not declared in this scope
Ulrich please fix those _M_n to __x._M_n and remove the obsolete comments. We could also add the usual minimal set of tests exercising serialization. Thanks.

Paolo.


All,

One thing we all forgot: the operator== is also non-trivial because it needs to compare _M_n.

Operators must be guaranteed to produce the same numbers in future when fed with identical urngs if they compare equal.

Ulrich, do you want to do this? There are also old comments in the inserters and extractors.

Ed

Reply via email to