5template <
typename EntityType,
typename ComponentType>
12template <
typename EntityType,
typename... ComponentTypes>
18 auto lambda = []<
typename ComponentType>()
20 std::cout <<
"ComponentType: " <<
typeid(ComponentType).name() << std::endl;
23 (lambda.template operator()<ComponentTypes>(), ...);
26 typedef std::tuple<bar<EntityType, ComponentTypes>...>
test_tuple;
Test()
Definition: test.hpp:16
std::tuple< bar< EntityType, ComponentTypes >... > test_tuple
Definition: test.hpp:26
ComponentType component
Definition: test.hpp:9