Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-05 18:58:07


----- Original Message -----
From: "rogeeff" <rogeeff_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, March 05, 2002 12:31 PM
Subject: [boost] Re: building shared boost libraries

> --- In boost_at_y..., Rene Rivera <grafik666_at_r...> wrote:
> > #ifndef BOOST_VERSION_DEF
> > #define BOOST_VERSION_DEF
> > #define BOOST_VERSION_STRING "Boost 1.27"
> > #define BOOST_VERSION_MAJOR 1
> > #define BOOST_VERSION_MINOR 27
> > #define BOOST_VERSION_SUBMINOR 0
> > #define BOOST_VERSION 102700
> > #endif
>
> Is there any specific reasons to prefer defines over const variables?

Conditional compilation using #if is impossible with const variables


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