From 6ffe4c3d750daef2a6873fb9578acae2b7bbbb71 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 18 Dec 2023 18:29:53 +0200 Subject: [PATCH] Update documentation --- doc/mp11/algorithm.adoc | 4 ++++ doc/mp11/changelog.adoc | 1 + 2 files changed, 5 insertions(+) diff --git a/doc/mp11/algorithm.adoc b/doc/mp11/algorithm.adoc index 7b9d852..ce9f0dc 100644 --- a/doc/mp11/algorithm.adoc +++ b/doc/mp11/algorithm.adoc @@ -19,6 +19,10 @@ http://www.boost.org/LICENSE_1_0.txt `mp_transform, L2, ..., Ln>` applies `F` to each successive tuple of elements and returns `L1...>`. +Has limited support of value lists as `L...` under {cpp}17 (for one to three lists.) +In that case, elements are wrapped with `mp_value` before being passed to `F`, and +are unwrapped afterwards. The result is `L1, mp_value, ...>::value...>`. + .Using mp_transform to produce a list of pointers from a list of pointees ``` template using add_pointer_t = diff --git a/doc/mp11/changelog.adoc b/doc/mp11/changelog.adoc index 8d83807..59f3d17 100644 --- a/doc/mp11/changelog.adoc +++ b/doc/mp11/changelog.adoc @@ -15,6 +15,7 @@ http://www.boost.org/LICENSE_1_0.txt * Added `mp_sliding_fold`, a generalization of `mp_pairwise_fold` (contributed by Braden Ganetsky) * Added `mp_slice` (thanks to Braden Ganetsky) * Added value list support to `mp_min_element`, `mp_max_element`. +* Added limited value list support to `mp_transform`. ## Changes in 1.83.0