11 #ifndef TLX_META_FOLD_RIGHT_TUPLE_HEADER 12 #define TLX_META_FOLD_RIGHT_TUPLE_HEADER 27 namespace meta_detail {
30 template <
typename Reduce,
typename Initial,
typename Tuple, std::size_t... Is>
33 return fold_right(std::forward<Reduce>(r), std::forward<Initial>(init),
34 std::get<Is>(std::forward<Tuple>(t)) ...);
41 template <
typename Reduce,
typename Initial,
typename Tuple>
44 std::tuple_size<typename std::decay<Tuple>::type>
::value>;
46 std::forward<Reduce>(r), std::forward<Initial>(init),
47 std::forward<Tuple>(t), Indices());
54 #endif // !TLX_META_FOLD_RIGHT_TUPLE_HEADER