mardi 23 novembre 2021

Is it possible to get typename by index in template?

how do something like this? where I could get the specific typename in an argument list?

template <class... T>
struct TableLookUp::SmartMap
{
private:
    table<T[0]> OurMap;
    x_axis<T[1]> Our_x_axis;
    y_axis<T[2]> Our_y_axis;
}

Aucun commentaire:

Enregistrer un commentaire