Boost logo

Boost :

Subject: Re: [boost] [config] Positive feature macros, r2
From: Peter Dimov (lists_at_[hidden])
Date: 2018-01-25 17:39:42


Steven Watanabe wrote:

> I'm opposed to this, as I believe that it simply creates pointless churn.
> I consider the proposed benefits to be utterly insignificant.

It does not bother you that when adding a feature macro one needs to
remember to add it to all compiler configurations, live or dead? And that if
one forgets nobody is any the wiser?

It does not bother you that we can't just add

#if defined(__cpp_foo) && __cpp_foo >= 201400
# define BOOST_CXX14_FOO
#endif

in one place and have it mostly work, instead of touching O(N) files?


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