<type_traits>
: Possible improvements of implementation strategy of is_scoped_enum
#5333
Labels
question
Further information is requested
__is_scoped_enum
intrinsic since Clang 16 (llvm/llvm-project@a089def, LLVM-D135177). But MSVC and EDG don't seem to have it implemented. Should we use__is_scoped_enum
for Clang, which possibly improve throughput?<type_traits>
: Implementis_scoped_enum
#1950, MSVC thinks that an unscoped enumeration type without fixed underlying type is complete in its enumerator-list (and generally treatsint
as its underlying type). This is non-conforming, while a conformance fix is likely to break the current implementation strategy. I think I've found the strategy (see below) working with both conforming and non-conforming treatments. Should we use it or something similar?The text was updated successfully, but these errors were encountered: