Skip to content

Commit 892813a

Browse files
committed
Shorted precondition
1 parent 6b4a20a commit 892813a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/ref/basic_value/empty.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Returns whether the instance is considered "empty". An instance is considered em
1414

1515
#### Preconditions
1616

17-
The instance must *not* be in a discarded state. The precondition *may* be checked by the implementation with `assert`.
17+
The instance must *not* be in a discarded state.
1818

1919
#### Return value
2020

21-
`true` when the instance is considered empty, `true` otherwise.
21+
`true` when the instance is considered empty, `false` otherwise.
2222

2323
#### Exceptions
2424

doc/ref/basic_value/operator_bool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Returns whether the instance has been initialized. Note that an initialized valu
88

99
#### Preconditions
1010

11-
The instance must *not* be in a discarded state. This precondition *might* be checked by the implementation with an `assert`.
11+
The instance must *not* be in a discarded state.
1212

1313
#### Return value
1414

0 commit comments

Comments
 (0)