forked from boostorg/mp11
Update documentation.
This commit is contained in:
1 parent
946937b5ab
commit
c0fd3871eb
2 files changed
+12
-12
No files matched your search
@@ -71,10 +71,10 @@ When `mp_valid<F, T...>` is `mp_true`, `mp_defer<F, T...>` is a struct with a ne
|
||||
otherwise, `invoke<U...>` is an alias for `F<T..., U...>`, allowing partial application.
|
||||
[endsect]
|
||||
|
||||
[section `mp_unquote<Q, T...>`]
|
||||
template<class Q, class... T> using mp_unquote = typename Q::template invoke<T...>;
|
||||
[section `mp_invoke<Q, T...>`]
|
||||
template<class Q, class... T> using mp_invoke = typename Q::template invoke<T...>;
|
||||
|
||||
`mp_unquote<Q, T...>` evaluates the nested template `invoke` of a quoted metafunction. `mp_unquote<mp_quote<F>, T...>` is an alias for `F<T...>`. `mp_unquote<mp_quote<F, T...>, U...>` is an alias for `F<T..., U...>`.
|
||||
`mp_invoke<Q, T...>` evaluates the nested template `invoke` of a quoted metafunction. `mp_invoke<mp_quote<F>, T...>` is an alias for `F<T...>`. `mp_invoke<mp_quote<F, T...>, U...>` is an alias for `F<T..., U...>`.
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
Reference in new issue
Block a user