From Jason Turner

[stringbuf.members]

Diff to HTML by rtfpessoa

tmp/tmp06csgjc_/{from.md → to.md} RENAMED
@@ -7,11 +7,11 @@ basic_string<charT,traits,Allocator> str() const;
7
  *Returns:* A `basic_string` object whose content is equal to the
8
  `basic_stringbuf` underlying character sequence. If the
9
  `basic_stringbuf` was created only in input mode, the resultant
10
  `basic_string` contains the character sequence in the range \[`eback()`,
11
  `egptr()`). If the `basic_stringbuf` was created with
12
- `which & ios_base::out` being true then the resultant `basic_string`
13
  contains the character sequence in the range \[`pbase()`, `high_mark`),
14
  where `high_mark` represents the position one past the highest
15
  initialized character in the buffer. Characters can be initialized by
16
  writing to the stream, by constructing the `basic_stringbuf` with a
17
  `basic_string`, or by calling the `str(basic_string)` member function.
@@ -28,13 +28,13 @@ void str(const basic_string<charT,traits,Allocator>& s);
28
 
29
  *Effects:* Copies the content of `s` into the `basic_stringbuf`
30
  underlying character sequence and initializes the input and output
31
  sequences according to `mode`.
32
 
33
- *Postconditions:* If `mode & ios_base::out` is true, `pbase()` points to
34
- the first underlying character and `epptr()` `>= pbase() + s.size()`
35
- holds; in addition, if `mode & ios_base::ate` is true,
36
  `pptr() == pbase() + s.size()` holds, otherwise `pptr() == pbase()` is
37
- true. If `mode & ios_base::in` is true, `eback()` points to the first
38
- underlying character, and both `gptr() == eback()` and
39
  `egptr() == eback() + s.size()` hold.
40
 
 
7
  *Returns:* A `basic_string` object whose content is equal to the
8
  `basic_stringbuf` underlying character sequence. If the
9
  `basic_stringbuf` was created only in input mode, the resultant
10
  `basic_string` contains the character sequence in the range \[`eback()`,
11
  `egptr()`). If the `basic_stringbuf` was created with
12
+ `which & ios_base::out` being nonzero then the resultant `basic_string`
13
  contains the character sequence in the range \[`pbase()`, `high_mark`),
14
  where `high_mark` represents the position one past the highest
15
  initialized character in the buffer. Characters can be initialized by
16
  writing to the stream, by constructing the `basic_stringbuf` with a
17
  `basic_string`, or by calling the `str(basic_string)` member function.
 
28
 
29
  *Effects:* Copies the content of `s` into the `basic_stringbuf`
30
  underlying character sequence and initializes the input and output
31
  sequences according to `mode`.
32
 
33
+ *Postconditions:* If `mode & ios_base::out` is nonzero, `pbase()` points
34
+ to the first underlying character and `epptr()` `>= pbase() + s.size()`
35
+ holds; in addition, if `mode & ios_base::ate` is nonzero,
36
  `pptr() == pbase() + s.size()` holds, otherwise `pptr() == pbase()` is
37
+ `true`. If `mode & ios_base::in` is nonzero, `eback()` points to the
38
+ first underlying character, and both `gptr() == eback()` and
39
  `egptr() == eback() + s.size()` hold.
40