Boost logo

Boost :

From: Toon Knapen (toon_at_[hidden])
Date: 2001-03-16 08:49:24


Jens Maurer wrote:
>
> Beyond the points mentioned, I believe a version macro could be
> useful on a user-level:
I've looked at the older messages but do'nt find
reasons in favor of having a BOOST_VERSION define

>
> #if BOOST_VERSION < 0102101
> #error This program needs boost 1.21.1 or later
> #endif
>
> The version macro should only rarely be used to provide
> backward compatibility in user programs, since boost libraries
> should try to be source-level backward compatible.
Thus backward-compatibility should not be an issue.
Could you explain me in what kind of situation a
forward-compatibility (as in your #if statement above)
would be necessary ?

toon


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