dimanche 23 octobre 2016

Template parameter pack attribute

We have template class:

template<int i>
class A
{
...
};

But how to declare packer of template classes:

template<int... is>
Pack
{

private:
    A<is...> attrs;
};

Or howto have collection of classes A?

Aucun commentaire:

Enregistrer un commentaire