fork(1) download
  1. #include <iostream>
  2.  
  3. template<class T>
  4. void foo(T)
  5. {
  6. std::cout << __PRETTY_FUNCTION__ << '\n';
  7. }
  8.  
  9. int main()
  10. {
  11. foo(-2147483647);
  12. foo(-2147483648);
  13. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
void foo(T) [with T = int]
void foo(T) [with T = long long int]