This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
Section: 188.8.131.52.1 [rand.dist.samp.discrete] Status: Resolved Submitter: Daniel Krügler Opened: 2008-08-22 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [rand.dist.samp.discrete].
View all issues with Resolved status.
During the Sophia Antipolis meeting it was decided to separate from 793 a subrequest that adds initializer list support to discrete_distribution, specifically, the issue proposed to add a c'tor taking a initializer_list<double>.
In 184.108.40.206.1 [rand.dist.samp.discrete] p. 1, class discrete_distribution, just before the member declaration
explicit discrete_distribution(const param_type& parm);
Between p.4 and p.5 of the same section insert a new paragraph as part of the new member description:
Effects: Same as discrete_distribution(wl.begin(), wl.end()).
Addressed by N2836 "Wording Tweaks for Concept-enabled Random Number Generation in C++0X".