From Jason Turner

[streambuf.protected]

Diff to HTML by rtfpessoa

tmp/tmpy2rv4v5e/{from.md → to.md} RENAMED
@@ -52,10 +52,13 @@ void gbump(int n);
52
 
53
  ``` cpp
54
  void setg(char_type* gbeg, char_type* gnext, char_type* gend);
55
  ```
56
 
 
 
 
57
  *Ensures:* `gbeg == eback()`, `gnext == gptr()`, and `gend == egptr()`
58
  are all `true`.
59
 
60
  ##### Put area access <a id="streambuf.put.area">[[streambuf.put.area]]</a>
61
 
@@ -85,8 +88,10 @@ void pbump(int n);
85
 
86
  ``` cpp
87
  void setp(char_type* pbeg, char_type* pend);
88
  ```
89
 
 
 
90
  *Ensures:* `pbeg == pbase()`, `pbeg == pptr()`, and `pend == epptr()`
91
  are all `true`.
92
 
 
52
 
53
  ``` cpp
54
  void setg(char_type* gbeg, char_type* gnext, char_type* gend);
55
  ```
56
 
57
+ *Preconditions:* \[`gbeg`, `gnext`), \[`gbeg`, `gend`), and \[`gnext`,
58
+ `gend`) are all valid ranges.
59
+
60
  *Ensures:* `gbeg == eback()`, `gnext == gptr()`, and `gend == egptr()`
61
  are all `true`.
62
 
63
  ##### Put area access <a id="streambuf.put.area">[[streambuf.put.area]]</a>
64
 
 
88
 
89
  ``` cpp
90
  void setp(char_type* pbeg, char_type* pend);
91
  ```
92
 
93
+ *Preconditions:* \[`pbeg`, `pend`) is a valid range.
94
+
95
  *Ensures:* `pbeg == pbase()`, `pbeg == pptr()`, and `pend == epptr()`
96
  are all `true`.
97