$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2004-07-21 07:49:13
Le mer 21/07/2004 à 14:25, Synge Todo a écrit :
> 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???
No, I would say it means Boost.Random should include <cmath>. It's what
you were suggesting at first (I think it was you). It's also what the
other Boost libraries do (at least the Interval library does it).
Regards,
Guillaume