I have a template that looks something like this:
template< typename T, void (*f)( T& param )>
class SomeAction
{
...
};
fused internally SomeAction(is actually fa member of the class, but I don’t think it matters).
Question: can this be improved by removing "typename T" from the list of template parameters and allowing the compiler to infer this type?
Thank!
source
share