dimanche 17 octobre 2021

How can I push template args to an Array

How can I push template args to array?

I want to make this function below returns array of ints values from template args

template <int... args>
int* data(... args)
{
    int* m_data = // push template args to array
}

Aucun commentaire:

Enregistrer un commentaire