diff --git a/doc/html/mp11.html b/doc/html/mp11.html index eff6909..f35da32 100644 --- a/doc/html/mp11.html +++ b/doc/html/mp11.html @@ -2176,15 +2176,14 @@
mp_and<T...>
- is an alias for mp_false
- if there exists a type U
- in T...
- for which mp_to_bool<U>
- is not mp_true
. mp_to_bool<U>
- is not evaluated for types after U
.
- If no such type exists, mp_and<T...>
is an alias for mp_true
.
- (mp_and<>
- is mp_true
.)
+ applies mp_to_bool
to the
+ types in T...
,
+ in order. If the result of an application is mp_false
,
+ mp_and
returns mp_false
. If the application causes a
+ substitution failure, returns mp_false
.
+ If all results are mp_true
,
+ returns mp_true
. mp_and<>
+ is mp_true
.
using R1 = mp_and<mp_true, mp_true>; // mp_true using R2 = mp_and<mp_false, void>; // mp_false, void is not reached @@ -2209,7 +2208,7 @@ is an error becausevoid
does not have a nestedvalue
. The upside is thatmp_all
- is faster on legacy compilers. + is potentially faster and does not mask substitution failures asmp_and
does.using R1 = mp_and<mp_true, mp_true>; // mp_true using R2 = mp_and<mp_false, void>; // compile-time error @@ -2493,7 +2492,7 @@
Last revised: May 23, 2017 at 22:51:13 GMT |
+Last revised: May 24, 2017 at 02:43:53 GMT |