From Jason Turner

[syncstream.osyncstream.cons]

Diff to HTML by rtfpessoa

tmp/tmpx4196fbe/{from.md → to.md} RENAMED
@@ -2,12 +2,12 @@
2
 
3
  ``` cpp
4
  basic_osyncstream(streambuf_type* buf, const Allocator& allocator);
5
  ```
6
 
7
- *Effects:* Initializes `sb` from `buf` and `allocator`. Initializes the
8
- base class with `basic_ostream<charT, traits>(addressof(sb))`.
9
 
10
  [*Note 1*: The member functions of the provided stream buffer can be
11
  called from `emit()` while a lock is held, which might result in a
12
  deadlock if used incautiously. — *end note*]
13
 
@@ -15,13 +15,13 @@ deadlock if used incautiously. — *end note*]
15
 
16
  ``` cpp
17
  basic_osyncstream(basic_osyncstream&& other) noexcept;
18
  ```
19
 
20
- *Effects:* Move constructs the base class and `sb` from the
21
  corresponding subobjects of `other`, and calls
22
- `basic_ostream<charT, traits>::set_rdbuf(addressof(sb))`.
23
 
24
  *Ensures:* The value returned by `get_wrapped()` is the value returned
25
  by `other.get_wrapped()` prior to calling this constructor.
26
  `nullptr == other.get_wrapped()` is `true`.
27
 
 
2
 
3
  ``` cpp
4
  basic_osyncstream(streambuf_type* buf, const Allocator& allocator);
5
  ```
6
 
7
+ *Effects:* Initializes *sb* from `buf` and `allocator`. Initializes the
8
+ base class with `basic_ostream<charT, traits>(addressof(`*`sb`*`))`.
9
 
10
  [*Note 1*: The member functions of the provided stream buffer can be
11
  called from `emit()` while a lock is held, which might result in a
12
  deadlock if used incautiously. — *end note*]
13
 
 
15
 
16
  ``` cpp
17
  basic_osyncstream(basic_osyncstream&& other) noexcept;
18
  ```
19
 
20
+ *Effects:* Move constructs the base class and *sb* from the
21
  corresponding subobjects of `other`, and calls
22
+ `basic_ostream<charT, traits>::set_rdbuf(addressof(`*`sb`*`))`.
23
 
24
  *Ensures:* The value returned by `get_wrapped()` is the value returned
25
  by `other.get_wrapped()` prior to calling this constructor.
26
  `nullptr == other.get_wrapped()` is `true`.
27