diff --git a/stl/inc/type_traits b/stl/inc/type_traits index 7a1e0fab0e2..995c15966ce 100644 --- a/stl/inc/type_traits +++ b/stl/inc/type_traits @@ -1317,7 +1317,7 @@ struct _Identity { using type = _Ty; }; template -using _Identity_t = typename _Identity<_Ty>::type; +using _Identity_t _MSVC_KNOWN_SEMANTICS = typename _Identity<_Ty>::type; #if _HAS_CXX20 template diff --git a/stl/inc/xtr1common b/stl/inc/xtr1common index 80e7615e30c..93e7e7abd33 100644 --- a/stl/inc/xtr1common +++ b/stl/inc/xtr1common @@ -220,7 +220,7 @@ template using _Const_thru_ref = typename remove_reference<_Ty>::_Const_thru_ref_type; template -using _Remove_cvref_t = remove_cv_t>; +using _Remove_cvref_t _MSVC_KNOWN_SEMANTICS = remove_cv_t>; #if _HAS_CXX20 template