Boost logo

Boost :

Subject: Re: [boost] C++17 detection
From: Peter Dimov (lists_at_[hidden])
Date: 2017-09-14 14:56:16

Robert Ramey wrote:

> According to
> it's currently in <experimental/type_traits> as part of library
> fundamentals v2. I had mistakenly thought it was slated for C++17. So
> maybe it's not appropriate to include in Boost.Config yet.

The usual practice for such additions is to add boost::is_detected into
Boost.TypeTraits, obviating the need for a Config check and each library
providing its own fallback.

Or, you can use mp_valid from Mp11 instead, although it's not a drop-in

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