我有一个boost::hana::类型集,并想用它创建一个映射,其中的值是布尔值。// I have a hana set:
auto my_set = hana::make_set(hana::type_c< int >, hana::type_c< float > ...);// and want to transform it to a map w
我使用以下模板声明一组类型:using DependencySet = boost::hana::set<boost::hana::type<T>...>;我希望能够从集合中提取出这些类型并放入另一个容器中。DependencySet<Dependencies...>> using type = SomeOtherType<Dependencies...>;唉