From 0241f0531b85aeda11f030c83a7ec5b34de8a71b Mon Sep 17 00:00:00 2001
From: Peter Dimov mp_all_of<L, P>
mp_none_of<L, P>
mp_any_of<L, P>
mp_for_each<L>(f)
<boost/mp11/set.hpp>
@@ -1453,6 +1454,21 @@
one element of
L
, mp_false
otherwise. When L
is empty, the result is mp_false
.
template<class L, class F> constexpr F mp_for_each(F&& f); ++
+ mp_for_each<L>(f)
calls
+ f
with mp_identity<T>()
for each element T
+ of the list L
, in order.
+
+ Returns std::forward<F>(f)
.
+
Last revised: May 12, 2017 at 16:48:16 GMT |
+Last revised: May 12, 2017 at 21:20:08 GMT |