Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2001-03-12 16:25:11


on 3/11/01 2:49 PM, deansturtevant_at_[hidden] at
deansturtevant_at_[hidden] wrote:

> --- In boost_at_y..., Daryle Walker <darylew_at_m...> wrote:
>> Should we add #defines for the current Boost version? They probably would go
>> in "config.hpp". They could go something like:
>>
>> //===================================
>> #define BOOST_VERSION_MAJOR 1
>> #define BOOST_VERSION_MINOR 21
>> #define BOOST_VERSION_FIX 0
>> //===================================

> Based on recent experience looking at code which tests for the minor version
> of the GCC compiler without testing for the major version, I think separating
> out major from minor in #defines is not a good idea. How about a single
> version number?

That sounds OK. What about both? This is with the understanding that only
the single-number version is made for comparisons, and the split version is
for printing only. See more in my response to Dave.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

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