Re: [Boost-users] Using BOOST_STRING_TRIM_HPP to check whethertrim_copy() is available?
30 Mar
2006
30 Mar
'06
7:03 p.m.
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%.
6800
Age (days ago)
6800
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sohail Somani