Boost logo

Boost :

From: Rainer Deyke (rdeyke_at_[hidden])
Date: 2021-03-10 18:24:59


On 10.03.21 16:34, Richard Hodges via Boost wrote:
> In almost all applications, "1", 1 and true all mean the same thing.

Absolutely not. Strings are not, and must not be implicitly converted
to, booleans.

"True" is a perfectly valid last name, as is "Null". There are real
people with these names. Software that treats these names as a boolean
value and no value respectively is broken.

-- 
Rainer Deyke (rainerd_at_[hidden])

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk