Compiler type trait optimizations (#2385)

This commit is contained in:
Stephan T. Lavavej 2021-12-09 22:03:27 -08:00 коммит произвёл GitHub
Родитель 18019346af
Коммит 5e3574b979
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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>