From a79e6d0240a74138e399243cceca854bc2238293 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 7 Sep 2018 23:45:57 +0300 Subject: [PATCH] Document that mp_bind evaluates nested mp_bind_front/mp_bind_back --- doc/mp11/bind.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/mp11/bind.adoc b/doc/mp11/bind.adoc index 1b6dc66..0e742b0 100644 --- a/doc/mp11/bind.adoc +++ b/doc/mp11/bind.adoc @@ -37,9 +37,11 @@ http://www.boost.org/LICENSE_1_0.txt template class F, class... T> struct mp_bind; -`mp_bind` is a quoted metafunction that implements the type-based equivalent of `boost::bind`. Its nested -template `fn` returns `F`, where `V...` is `T...` with the placeholders replaced by the corresponding element -of `U...` and the `mp_bind` expressions replaced with their corresponding evaluations against `U...`. +`mp_bind` is a quoted metafunction that implements the type-based +equivalent of `boost::bind`. Its nested template `fn` returns `F`, +where `V...` is `T...` with the placeholders replaced by the corresponding +element of `U...` and the `mp_bind`, `mp_bind_front`, and `mp_bind_back` +expressions replaced with their corresponding evaluations against `U...`. For example, `mp_bind>::fn` is `F>`.