c++ - Pointer to function with template arguments -


how create this, without creating structure?

template <class t> typedef bool (* functionpointer)(t*, t*); 

using using:

template <class t> using functionpointer = bool (*)(t*, t*); 

live example


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -