Files
2025-10-25 03:02:53 +03:00

546 B

[conv.bool]

7 Expressions [expr]

7.3 Standard conversions [conv]

7.3.15 Boolean conversions [conv.bool]

1

#

A prvalue of arithmetic, unscoped enumeration, pointer, or pointer-to-member type can be converted to a prvalue of type bool.

A zero value, null pointer value, or null member pointer value is converted to false; any other value is converted to true.