Thinkkun@think_kun
Deleted my int and double overloads of max for one template. Felt clever.
Then max_of(3, 9.5) gave a wall of errors: deduced conflicting types for T, int and double.
One T, one type. Deduction runs before any conversion, so it refuses to guess.
#Cpp #CPlusPlus #LearnCpp
0006














