Initialzing and accessing members of a variadic class template
问题 I'm experimenting with variadic templates and would like to know if they can be used in order to generalze(?) class templates such as template<typename T1, typename T2 , typename T4, typename T4> struct Foo { T1 &m_member1; T2 &m_member2; T3 &m_member3; T4 &m_member4; }; Also, I'd like to be able to initialize all the members by chaining constructors. This is how far I've gotten: template<typename... Types> struct Foo; template<typename T , typename... Types> struct Foo<T, Types ...> : public