forked from boostorg/mp11
Change mp_identity_t to be non-transparent, for consistency
This commit is contained in:
1 parent
cbf539e16b
commit
e926c4ce62
4 files changed
+5
-5
No files matched your search
@@ -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... {};
|
||||
|
||||
@@ -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... {};
|
||||
|
||||
Reference in new issue
Block a user