[C++] C++11 defines `double abs(T)` for integer type
[C++] C++11 defines `double abs(T)` for integer type

$ g++ -std=c++11 abs.cc
$ ./a.out
-2147483648
-2147483648
-2.14748e+09
2.14748e+09

$ c++ -std=c++03 abs.cc
$ ./a.out
-2147483648
2.14748e+09
-2.14748e+09
2.14748e+09

sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets,sgkim126/snippets