If I have some class based on templates ie
template<typename T, int something>
Class {
};
is there a way I can get the 'something' value out of it? For example if I want to compare 2 class elements and their 'something' values.
Last edited on
You could create a function that returns the something value or make a public static constant member of the class having the value of something.
Last edited on