Change mp_identity_t to be non-transparent, for consistency

This commit is contained in:
Peter Dimov committed 2017-06-10 04:13:39 +03:00
1 parent cbf539e16b
commit e926c4ce62
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ template<class T> struct mp_identity
};
// mp_identity_t
template<class T> using mp_identity_t = T;
template<class T> using mp_identity_t = typename mp_identity<T>::type;
// mp_inherit
template<class... T> struct mp_inherit: T... {};
+1 -1
View File
@@ -117,7 +117,7 @@ template<class T> struct mp_identity
};
// mp_identity_t
template<class T> using mp_identity_t = T;
template<class T> using mp_identity_t = typename mp_identity<T>::type;
// mp_inherit
template<class... T> struct mp_inherit: T... {};