When I tried use std::extent_v
template it was underscored with red and I got error "namespace std doesn't contain member extent_v" in IDE, but it compiles without an error (<type_traits>
is of course included).
When I found its definition in <type_traits>
it was disabled along with other variable templates definitions in conditional #if _HAS_VARIABLE_TEMPLATES
. _HAS_VARIABLE_TEMPLATES
was defined as 0 depending on __EDG__
macro, that wasn't introduced in source code.
What it all means and how can I repair IDE?