On 4/25/2013 11:42 PM, Manipulator wrote:
What about the implicit conversion for the other types? I could imagine that they could cause similar bugs. Why not get rid of the implicit conversion?
Implicit conversions make the menagerie of integer types tractable. Explicit casts are a sledgehammer that often causes bugs rather than eliminates them.
How about yet another compiler flag?
Compiler flags that alter the meaning of the language are not the solution.