1 matches bool, 2 matches long

Walter Bright newshound2 at digitalmars.com
Sat Apr 27 13:01:38 PDT 2013


On 4/27/2013 8:11 AM, kenji hara wrote:
> Walter, now I changed my opinion. It seems not correct that being regarded bool
> type as one of the integer.
> How about?

Both C and C++ regard bool as an integer, and implicitly convert 1/0 to true/false.

What C++ doesn't have is VRP and partial ordering of functions. (But it does 
have partial ordering of template functions.)


More information about the Digitalmars-d mailing list