From Jason Turner

[rand.dist.pois.poisson]

Diff to HTML by rtfpessoa

tmp/tmptg6m7ax1/{from.md → to.md} RENAMED
@@ -13,23 +13,23 @@ distribution’s *mean* .
13
  template<class IntType = int>
14
  class poisson_distribution
15
  {
16
  public:
17
  // types
18
- typedef IntType result_type;
19
- typedef unspecified param_type;
20
 
21
  // constructors and reset functions
22
  explicit poisson_distribution(double mean = 1.0);
23
  explicit poisson_distribution(const param_type& parm);
24
  void reset();
25
 
26
  // generating functions
27
- template<class URNG>
28
- result_type operator()(URNG& g);
29
- template<class URNG>
30
- result_type operator()(URNG& g, const param_type& parm);
31
 
32
  // property functions
33
  double mean() const;
34
  param_type param() const;
35
  void param(const param_type& parm);
 
13
  template<class IntType = int>
14
  class poisson_distribution
15
  {
16
  public:
17
  // types
18
+ using result_type = IntType;
19
+ using param_type = unspecified;
20
 
21
  // constructors and reset functions
22
  explicit poisson_distribution(double mean = 1.0);
23
  explicit poisson_distribution(const param_type& parm);
24
  void reset();
25
 
26
  // generating functions
27
+ template<class URBG>
28
+ result_type operator()(URBG& g);
29
+ template<class URBG>
30
+ result_type operator()(URBG& g, const param_type& parm);
31
 
32
  // property functions
33
  double mean() const;
34
  param_type param() const;
35
  void param(const param_type& parm);