Example #1
0
    inline static void apply(It first, It last, Allocators & allocators)
    {
        typedef boost::mpl::bool_<
            boost::is_same<
                Value, typename std::iterator_traits<It>::value_type
            >::value
        > is_range_of_values;

        apply_dispatch(first, last, allocators, is_range_of_values());
    }
Example #2
0
 inline bool apply_dispatch(Int<I> const&, const F& f, Residu& residu, const T& t, const A& ... a)
 {
   return apply_dispatch(Int<I-1>(), f, residu, t, ttt::to_ref(bf::at_c<I-1>(t)), a...);
 }