On 4/27/2013 1:26 PM, kenji hara wrote:
I don't have so much knowledge about C/C++ language spec, but for the issue case C++ makes "ambiguous error".
That's because C++ regards an implicit conversion of 1 to bool or long as having equal weight, and it has no further mechanism.