Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-03-30 14:03:17


> Hi,
>
> I've got a header that I'd like to use in both application that use
> Boost and in ones that don't.
> Is there a define I can use to check whether Boost is available?
> In particular, I wish to use boost::trim_copy, but I don't want to
> force all files that include my header to use Boost.

I'm guessing BOOST_VERSION should be enough. I think all non-trivial
boost headers end up including this, but I'm not 100%.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net