fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. #define MAXLEN 15*1024*1024
  5.  
  6. void Test(unsigned int n) {
  7. cout << n << ", " << (int)n << endl;
  8. }
  9.  
  10. template <typename T>
  11. void Test2(T) {
  12. cout << __PRETTY_FUNCTION__ << endl;
  13. }
  14.  
  15. int main() {
  16. int b = 0;
  17.  
  18. Test2(MAXLEN - b);
  19.  
  20. return 0;
  21. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
void Test2(T) [with T = int]