Boost logo

Boost :

Subject: Re: [boost] [config] Rethinking feature macros?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-06 16:12:10


Andrey Semashev wrote:

> > You're refuting your own argument, because if g++-15 would need 200
> > positive macros compared to g++-7's 100, g++-7 would need 100 negative
> > macros.
>
> g++-7 will be out of wide use by then, so it doesn't matter.

That's not true on at least three levels.

> > The good thing about positive macros is that an old compiler never needs
> > maintenance. With negative macros you have to keep adding them to it.
>
> That is not more maintenance than adding positive macros for newer
> compilers.

It is. Maintaining the new compilers is constant regardless of the macro
type, and maintaining the old compilers is only required for negative
macros.


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