Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-04-25 13:04:45


"Paul A. Bristow" wrote:
>
> Of course - but if we use math_constants as a namespace,
> if would be confusing to put math functions in it.

Ed Brey's "struct constants" proposal from earlier today
would feel rather uncomfortable in a
        boost::math_constants::constants<T>::pi()
setting, since the boost::math_constants namespace would contain
only one struct.

I'd suggest to go with boost::math::constants<T>::pi()

Jens Maurer


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