News for hackers. Stuff that matters.
Re:The joy of max() by bstamour on Saturday March 31, 2018 @08:10AM (#16722957)
No it won't. You'll get a compile time error, as T could either deduce to int or double. Unless you explicitly specify it as max<int>(1, 2.0) or max<double>(1, 2.0).

There are no comments on this comment yet.