Boost logo

Boost :

From: Gary.Stevens_at_[hidden]
Date: 2008-06-12 11:56:08


The program compiled! Thank you for info and the work everyone is doing
with Boost.

Gary

-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of John Maddock
Sent: Thursday, June 12, 2008 8:49 AM
To: boost_at_[hidden]
Subject: Re: [boost] erfc id not found

Gary.Stevens_at_[hidden] wrote:
> I did add the include statement. Please find attached the sample code.
> Thank you.

The Boost versions of all the special functions are declared in
namespace
boost::math::, so either call boost::math::erfc(val) or add a "using
boost::math::erfc;" statement to bring the function into the current
scope.
The latter is probably not recomended in this case as you may get
ambiguities between ::erfc declared in *some* but not all math.h
versions,
and boost::math::erfc.

HTH, John.

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


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