fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template<typename T, void (*f)(T::Foo )> void bar() {}
  5.  
  6. int main() {
  7.  
  8.  
  9. return 0;
  10.  
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:31: error: expected '>' before '(' token
stdout
Standard output is empty