Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-03-16 08:03:56


Beyond the points mentioned, I believe a version macro could be
useful on a user-level:

#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.
(We do have some liberty to make more radical cuts, should the
need arise, unlike the C++ standards committee (see vector<bool>).

[Please adjust the arithmetics in my last post to a working
condition.]

Jens Maurer


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