зеркало из https://github.com/microsoft/STL.git
Compiler type trait optimizations (#2385)
This commit is contained in:
Родитель
18019346af
Коммит
5e3574b979
|
@ -1317,7 +1317,7 @@ struct _Identity {
|
|||
using type = _Ty;
|
||||
};
|
||||
template <class _Ty>
|
||||
using _Identity_t = typename _Identity<_Ty>::type;
|
||||
using _Identity_t _MSVC_KNOWN_SEMANTICS = typename _Identity<_Ty>::type;
|
||||
|
||||
#if _HAS_CXX20
|
||||
template <class _Ty>
|
||||
|
|
|
@ -220,7 +220,7 @@ template <class _Ty>
|
|||
using _Const_thru_ref = typename remove_reference<_Ty>::_Const_thru_ref_type;
|
||||
|
||||
template <class _Ty>
|
||||
using _Remove_cvref_t = remove_cv_t<remove_reference_t<_Ty>>;
|
||||
using _Remove_cvref_t _MSVC_KNOWN_SEMANTICS = remove_cv_t<remove_reference_t<_Ty>>;
|
||||
|
||||
#if _HAS_CXX20
|
||||
template <class _Ty>
|
||||
|
|
Загрузка…
Ссылка в новой задаче