Boost logo

Boost :

From: Ed Brey (brey_at_[hidden])
Date: 1999-10-11 11:00:42

Reviewing the "tasteless" changes to smart_ptr gave me an idea we can
use to clean up the #if macros a little bit (every bit helps). We can
try to hide the deprecated macros from implementations in the same way
that we try to hide broken compilers traits.

Specifically, we can add this to config.hpp:


Then code in implementation files that currently looks like this:

#if !defined( BOOST_NMEMBER_TEMPLATES ) /* old name for compatibility
*/ \
    && !defined( BOOST_NO_MEMBER_TEMPLATES )

becomes the more straightforward:


This also lets document time limits (bombs) in one place, if we want:

#if defined(BOOST_NMEMBER_TEMPLATES) // This will be unsupported
after 1/1/2001

I don't have enough experience to know whether this is a good idea,
but at least the option is open, and the information is reported in an
intuitive place.

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