|
Boost Users : |
Subject: Re: [Boost-users] testing boost version
From: Mathieu Champlon (m.champlon_at_[hidden])
Date: 2015-09-05 16:14:58
On 05/09/2015 16:33, Mathieu Champlon wrote:
> Hello,
>
> I have a library supposed to work with several versions of Boost.
> It uses features from Boost.Test which API has changed between 1.58
> and 1.59
> I naively tried to use Snippet BOOST_PP_LESS to test BOOST_VERSION
> (e.g. Snippet 105900) but it only accepts values up to
> BOOST_PP_LIMIT_MAG (e.g. 256).
Right, sorry for the noise, it seems I've done too much Boost.PP lately
and forgot I could just do
Snippet #if BOOST_VERSION < 105900
...
MAT.
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