Fixed Is the operation "false < true" well defined? #dev #it #asnwer
Fixed Is the operation "false < true" well defined? #dev #it #asnwer
Is the operation "false < true" well defined?
Does the C++ specification define:
the existence of the ‘less than’ operator for boolean parameters, and if so,
the result of the 4 parameter permutations?
In other words, are the results from the following operations defined by the specification?
false < false false < true true < false true < true
On my setup (Centos 7, gcc 4.8.2) , the code below…
View On WordPress











