Boost logo

Boost :

From: Synge Todo (wistaria_at_[hidden])
Date: 2004-07-21 07:25:46


From: David Abrahams <dave_at_[hidden]>
Date: Wed, 21 Jul 2004 07:20:20 -0400
> > I am a bit confused. Can "using std::pow;" be accepted by the
> > compilers without a declaration of std::pow?
>
> No it can't.

Thank you, David. It means that we have to always include <cmath>
beforehand whenever we include Boost.Random headers, since it contains
a line declaring "using std:pow;". This applies even if we just
include Boost.Random headers without any instantiation of Boost.Random
class templates. Isn't this requirement too strong for users???

Synge


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