Re: [boost] improve <boost/config.hpp>

7 Mar
2023
7 Mar
'23
3:38 p.m.
On 3/7/23 18:22, Jeff Garland via Boost wrote:
Not every compiler defines these macros. Let alone, not every compiler properly implements what it advertises. Also, library-defined macros are worthless as they only allow one to know the feature is/isn't supported after including the header, i.e. after the fact. C++20 <version> fixes this, but C++20 is a too high minimum bar to target. So no, feature macros do not replace Boost.Config. In fact, I'd prefer to continue using Boost.Config in new libraries.
788
Age (days ago)
788
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrey Semashev