I was looking for a way to get a tuple pack of all the inherited classes, couldn't find one.
Intend: I need to statically assert if a class inherits from a template base class. Template parameter is to be deduced from a specialization of a base template, given that I can deduce it's typename in the first place. Private inheritance.
Can this be done at all?
class Inherited : ClassA, ClassB ..., Class N
{};
//Expected usage
templ_traits<Inherited>::bases_tuple;
templ_traits<Inherited>::bases_count;