I have a template class of type
<size_t N>
class Line {
...
};
How could I could I create a test for several instances of this class? e.g. Line<1>, Line<2>, ...
I have checked the documentation and there are:
-
Value-Parametrized tests are for run-time values
-
Type-Parametrized tests which allow you to change the typename at compile time.
However, I do not find anything to change values at compile-time.
Aucun commentaire:
Enregistrer un commentaire