Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2006-08-11 17:31:05


Roman Yakovenko wrote:
> I think that "mean" and "sigma" functions should have return type
> RealType instead of RealType&.
>
> RealType& mean() const { return _mean; } ==> RealType mean() const
> { return _mean; }
> RealType& sigma() const { return _sigma; } ==> RealType sigma()
> const { return _sigma; }

Yes. Fixed in CVS HEAD.

Thanks,
Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk