Is there a way to pass a function template to another function? I tried this but it doesn't work.
template <typename T>
void template_function( T arg ) {
}
void function( template <typename T> void (*func)( T arg ) ) {
}
How can I pass a function template to another function?