fork download
  1. template<void (*FUNC_PTR)(void)>
  2. struct Func {};
  3.  
  4. template<typename T>
  5. void foo();
  6.  
  7. int main() {
  8. struct Bar {}; // function-local type
  9. Func<foo<Bar>> x;
  10. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty