This is the last remaining piece of P0935R0. This adds a default
constructor to each of the streambuf and stream types in so
that default construction does not use the 'explicit' constructor that
has a single, defaulted argument.
P0935R0 Eradicating unnecessarily explicit default constru
On 12/06/18 20:10 +0100, Jonathan Wakely wrote:
Explicit default constructors are problematic, so this change removes
them from and , as per P0935R0.
* include/bits/random.h (linear_congruential_engine)
(mersenne_twister_engine, subtract_with_carry_engine, random_device)
I for
Another piece of P0935, this time for , and
.
The only piece left is .
Tested powerpc64le-linux, committed to trunk.
commit 0752b4dfd8dba7bae234f6210eea74dc337ade15
Author: Jonathan Wakely
Date: Thu Jun 14 14:58:16 2018 +0100
P0935R0 Eradicating unnecessarily explicit default construc
On 14/06/18 11:46 +0100, Jonathan Wakely wrote:
On 14/06/18 06:43 -0400, Tim Song wrote:
Since param_type's constructors are defined by reference to the
constructors of the distribution, P0935's changes to the distribution's
constructors apply to their param_type as well.
Back to the patch min
On 14/06/18 06:43 -0400, Tim Song wrote:
Since param_type's constructors are defined by reference to the
constructors of the distribution, P0935's changes to the distribution's
constructors apply to their param_type as well.
Back to the patch mines I go ...
Since param_type's constructors are defined by reference to the
constructors of the distribution, P0935's changes to the distribution's
constructors apply to their param_type as well.
Explicit default constructors are problematic, so this change removes
them from and , as per P0935R0.
* include/bits/random.h (linear_congruential_engine)
(mersenne_twister_engine, subtract_with_carry_engine, random_device)
(uniform_real_distribution, normal_distribution)