testing boost version
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). What would be the best way to solve my problem ? Thanks a lot ! MAT.
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.
participants (1)
-
Mathieu Champlon