Am 12.09.20 um 16:15 schrieb Andrey Semashev via Boost:
Given that Boost.TypeTraits are not equivalent in some instances to std type traits, I don't think we're going to remove them any time soon. At least, I would be opposed to such a move.
You can opportunistically use std type traits and fallback to Boost.TypeTraits in some simple cases, but that doesn't really make much sense in Boost since that doesn't remove the dependency on Boost.TypeTraits and requires workarounds in cases when the type traits don't match.
Also, we normally don't include all-in-one headers like
because that brings way more code than necessary. This is one of the drawbacks of and one of the reasons to use Boost.TypeTraits, actually.
- Is there an overview/documentation which Boost.TypeTraits differ from the standard? - Would it make sense to only keep these different/additional Boost.TypeTraits and remove the standard-compliant ones?