Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler type trait optimizations #2385

Merged
merged 1 commit into from
Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stl/inc/type_traits
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xtr1common
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down