3 ms·
you can also create a c++ example where a 'bool' gets unintentionally promoted to an 'int' causing the compiler to pick the wrong template without a the compile
by toolslive 12y ago
you can also create a c++ example where a 'bool' gets unintentionally promoted to an 'int' causing the compiler to pick the wrong template without a the compiler emitting a warning.
Or in C++ you forget to add "=0" to a method in a virtual class and you get a weird link error.
Or in the not so distant past, forgetting to add a semi colon to a class definition...
Or a simple mistake that makes the compiler emit 40+ errors on non-fitting candidate templates.
mumble mutter "pot" mutter mumble "kettle"