forked from boostorg/mp11
Change mp_identity_t to be non-transparent, for consistency
This commit is contained in:
@@ -1853,7 +1853,7 @@ int main()
|
||||
<h4 id="mp_identity_t_t">mp_identity_t<T></h4>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
<pre>template<class T> using mp_identity_t = T;</pre>
|
||||
<pre>template<class T> using mp_identity_t = typename mp_identity<T>::type;</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3377,7 +3377,7 @@ expression <code>f(std::get<J>(std::forward<Tp>(tp)))</code> for <co
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2017-06-10 01:59:58 GTBDT
|
||||
Last updated 2017-06-10 03:46:37 GTBDT
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
@@ -51,7 +51,7 @@ int main()
|
||||
|
||||
## mp_identity_t<T>
|
||||
|
||||
template<class T> using mp_identity_t = T;
|
||||
template<class T> using mp_identity_t = typename mp_identity<T>::type;
|
||||
|
||||
## mp_inherit<T...>
|
||||
|
||||
|
@@ -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