From Jason Turner

[defns.valid]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp2jz4ls6h/{from.md → to.md} +11 -0
tmp/tmp2jz4ls6h/{from.md → to.md} RENAMED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### 30 valid but unspecified state <a id="defns.valid">[[defns.valid]]</a>
2
+
3
+ value of an object that is not specified except that the object’s
4
+ invariants are met and operations on the object behave as specified for
5
+ its type
6
+
7
+ [*Example 1*: If an object `x` of type `std::vector<int>` is in a valid
8
+ but unspecified state, `x.empty()` can be called unconditionally, and
9
+ `x.front()` can be called only if `x.empty()` returns
10
+ `false`. — *end example*]
11
+