-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
MSVC is adding a new warning that will be emitted for program-defined partial and explicit specializations of the Standard Library type traits defined in [type.traits] per [meta.rqmts]/4. MSVC implements many of the type traits directly in the compiler, so the manifestation of the undefined behavior is generally that we ignore these specializations. We're hoping the warning will reduce confusion for users who don't know these specializations are forbidden, and emitting a warning seems less hostile than just silently ignoring the specializations.
It's extremely likely that a future release of MSVC with this warning will diagnose specializations in libc++ if the warning isn't suppressed e.g. with #pragma warning(disable : 5278)
. I'm not certain how much you folks support MSVC, but we thought you'd like a heads up.