Init
This commit is contained in:
18
cppdraft/conv/bool.md
Normal file
18
cppdraft/conv/bool.md
Normal file
@@ -0,0 +1,18 @@
|
||||
[conv.bool]
|
||||
|
||||
# 7 Expressions [[expr]](./#expr)
|
||||
|
||||
## 7.3 Standard conversions [[conv]](conv#bool)
|
||||
|
||||
### 7.3.15 Boolean conversions [conv.bool]
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L1150)
|
||||
|
||||
A prvalue of arithmetic, unscoped enumeration, pointer, or pointer-to-member
|
||||
type can be converted to a prvalue of type bool[.](#1.sentence-1)
|
||||
|
||||
A zero value, null
|
||||
pointer value, or null member pointer value is converted to false; any
|
||||
other value is converted to true[.](#1.sentence-2)
|
||||
Reference in New Issue
Block a user