12 #ifndef BOOST_MPL11_DETAIL_RIGHT_FOLDS_UNTIL_NAIVE_HPP
13 #define BOOST_MPL11_DETAIL_RIGHT_FOLDS_UNTIL_NAIVE_HPP
18 namespace boost {
namespace mpl11 {
namespace detail {
namespace right_folds {
25 template <
typename ...>
class predicate,
26 template <
typename ...>
class f,
27 typename state,
typename xs,
28 bool = predicate<xs>::type::value>
32 template <
typename ...>
class p,
33 template <
typename ...>
class f,
34 typename state,
typename xs>
40 template <
typename ...>
class p,
41 template <
typename ...>
class f,
42 typename state,
typename xs>
44 : f<head<xs>, until_naive<p, f, state, tail<xs>>>
48 #endif // !BOOST_MPL11_DETAIL_RIGHT_FOLDS_UNTIL_NAIVE_HPP
Forward declares the Iterable typeclass.
Naive right fold stopping whenever the predicate returns true.
Definition: until_naive.hpp:29