fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void func(bool) {
  5. cout << "bool" << endl;
  6. }
  7. template <class T>
  8. void func(T) {
  9. cout << "other" << endl;
  10. }
  11. int main() {
  12. func(0);
  13. func(false);
  14. return 0;
  15. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
other
bool