2 ms·
If true is book(1) then the check bool(2) == true will fail but bool(2) ? a : b will act as if bool(2) were true and this inconsistency could lead t
by onedognight 12y ago
If true is book(1) then the check
bool(2) == true
will fail but
bool(2) ? a : b
will act as if bool(2) were true and this inconsistency could lead to unintended execution paths.
- peeters 12y agoAh, I'm with you. Thanks.