Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-03-16 12:00:48

At 06:51 AM 3/16/2001, Jens Maurer wrote:

>Let's not get carried away by the version stuff, let's keep
>it simple.

Strongly agreed

>#define BOOST_VERSION 0102101
>and document that
> BOOST_VERSION % 100 is the sub-minor version
> BOOST_VERSION /100 % 1000 is the minor version
> BOOST_VERSION / 100000 is the major version
>checking whether 1.21.0 or later is then as easy as
>#if BOOST_VERSION >= 0102100

I'll go with this approach, absent a killer argument against. But minus
the octal constant:-)

It strikes me that developers will want to see the value increment in the
CVS as soon as a release is make. Of course it isn't always obvious at
that point in time what the next release number will be, but incrementing
by one should be good enough for development purposes.


Boost list run by bdawes at, gregod at, cpdaniel at, john at