fork download
  1. template <class T>
  2. using FunctionPointer = bool (*)(T*, T*);
  3.  
  4. bool foo(int *, int*)
  5. {
  6. return true;
  7. }
  8.  
  9.  
  10. int main()
  11. {
  12. FunctionPointer<int> p = &foo;
  13. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty