$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Darin Adler (darin_at_[hidden])
Date: 2002-03-05 20:01:22
On 3/5/02 12:30 PM, "rogeeff" <rogeeff_at_[hidden]> 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 why are you prefer defines over const
> variables?
One main reason: You can't do preprocessor #if based on the values of const
variables.
    -- Darin