5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_LIST_FLAT_MAP_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_LIST_FLAT_MAP_HPP_
25namespace flat_map_detail {
30using tl = arene::base::type_list<Tn...>;
34template <
class L0,
template <
class>
class Apply>
40template <
template <
class...>
class TypeList0,
template <
class>
class Apply>
41struct flat_map_impl<TypeList0<>, Apply> {
43 using type = TypeList0<>;
52template <
template <
class...>
class TypeList0,
class T00,
class... T0n,
template <
class>
class Apply>
53struct flat_map_impl<TypeList0<T00, T0n...>, Apply> {
78template <
class L0,
template <
class>
class Apply>
79using flat_map = arene::base::type_lists::flat_map_detail::flat_map_impl<L0, Apply>;
89template <
class L0,
template <
class>
class Apply>
Definition apply_all.hpp:14
typename apply_all< L0, Func >::type apply_all_t
Evaluate a template meta-function, passing the elements of the type-list L0 as the arguments.
Definition apply_all.hpp:55
flat_map< L0, arene::base::type_identity_t > flatten
collapse L0 aka TypeList0<TypeList1<T...>, .., TypeListN<U...>> into TypeList<T......
Definition flat_map.hpp:98
typename flatten< L0 >::type flatten_t
collapse L0 aka TypeList0<TypeList1<T...>, .., TypeListN<U...>> into TypeList<T......
Definition flat_map.hpp:106
typename concat< Ln... >::type concat_t
collapse L0<T...>, .. Ln<U...> into TypeList<T..., .., U...>
Definition concat.hpp:107
typename flat_map< L0, Apply >::type flat_map_t
Produce TypeList<T...> by concatenating the type-list provided by the supplied class template meta-fu...
Definition flat_map.hpp:90
arene::base::type_lists::flat_map_detail::flat_map_impl< L0, Apply > flat_map
Produce TypeList<T...> by concatenating the type-list provided by the supplied class template meta-fu...
Definition flat_map.hpp:79
Definition accumulate.hpp:37
Definition accumulate.hpp:36