diff --git a/doc/mp11/algorithm.adoc b/doc/mp11/algorithm.adoc index 86158be..70477b5 100644 --- a/doc/mp11/algorithm.adoc +++ b/doc/mp11/algorithm.adoc @@ -661,13 +661,14 @@ As `mp_reverse_fold`, but takes a quoted metafunction. ## mp_unique_if - template using mp_unique_if = /*...*/; + template class P> using mp_unique_if = /*...*/; -`mp_unique_if` returns a list of the same form as `L` with the duplicate elements removed for which `mp_to_bool>` is `mp_true`. +As `mp_unique`, but two elements `T` and `U` are considered duplicates when `mp_to_bool>` is `mp_true`. -## mp_unique_if +## mp_unique_if_q - template using mp_unique_if = mp_unique_if; + template using mp_unique_if_q = + mp_unique_if; As `mp_unique_if`, but takes a quoted metafunction.