$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-02-03 14:59:09
At 02:26 PM 2/3/2003, Thorsten Ottosen wrote:
 >
 >"Michael Stevens" <Michael.Stevens_at_[hidden]> wrote in message
 >news:3E3EBD1F.8010302_at_epost.de...
 >> There is a small correction required for lognormal_distribution.
 >> The problem is flagged under GCC3.2
 >>
 >>   explicit lognormal_distribution(base_type & rng,
 >>                                   result_type mean = result_type(1),
 >>                                   result_type sigma = result_type(1))
 >> ...
 >>   RealType& mean() const { return _mean; }
 >>   RealType& sigma() const { return _sigma; }
 >>
 >> should probably read.
 >>
 >>   RealType mean() const { return _mean; }
 >>   RealType sigma() const { return _sigma; }
 >
 >And while we're at it, we shouldn't use leeding underscores on variables;
 >these are reserved to the compiler.
Only in the global namespace. 17.4.3.1.2 says:
 Each name that begins with an underscore is reserved to the 
implementation for use as a name in the global namespace.
                          ^^^^^^
--Beman