fork download
  1. #include <iostream>
  2.  
  3. void f(void *) { std::cout << "True\n"; }
  4. void f(...) { std::cout << "False\n"; }
  5.  
  6. template<int N>
  7. void g()
  8. {
  9. f(0*N);
  10. }
  11.  
  12. int main()
  13. {
  14. g<1>();
  15. }
  16.  
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
False