diff --git a/doc/html/mp11.html b/doc/html/mp11.html index 64d4482..53c0e68 100644 --- a/doc/html/mp11.html +++ b/doc/html/mp11.html @@ -166,6 +166,7 @@
mp_all<T...>
mp_or<T...>
mp_any<T...>
+
mp_same<T...>
Bind, <boost/mp11/bind.hpp>
@@ -2087,6 +2088,21 @@ but does not perform short-circuit evaluation.

+
+ +
template<class... T> using mp_same = /*...*/;
+
+

+ mp_same<T...> + is mp_true if all the types + in T... + are the same type, mp_false + otherwise. mp_same<> + is mp_true. +

+

@@ -2299,7 +2315,7 @@

- +

Last revised: May 17, 2017 at 17:44:23 GMT

Last revised: May 18, 2017 at 11:17:12 GMT


diff --git a/doc/mp11/function.qbk b/doc/mp11/function.qbk index b0ef1ae..0ccdc49 100644 --- a/doc/mp11/function.qbk +++ b/doc/mp11/function.qbk @@ -37,4 +37,10 @@ If no such type exists, the last one is returned. `mp_or<>` is `mp_false`. Simil `mp_or`, but does not perform short-circuit evaluation. [endsect] +[section `mp_same`] + template using mp_same = /*...*/; + +`mp_same` is `mp_true` if all the types in `T...` are the same type, `mp_false` otherwise. `mp_same<>` is `mp_true`. +[endsect] + [endsect:function]