From Jason Turner

[syncstream.osyncstream.cons]

Diff to HTML by rtfpessoa

tmp/tmpv19bveqm/{from.md → to.md} RENAMED
@@ -5,13 +5,13 @@ 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 might be
11
- called from `emit()` while a lock is held. Care should be taken to
12
- ensure that this does not result in deadlock. — *end note*]
13
 
14
  *Ensures:* `get_wrapped() == buf` is `true`.
15
 
16
  ``` cpp
17
  basic_osyncstream(basic_osyncstream&& other) noexcept;
@@ -20,8 +20,8 @@ basic_osyncstream(basic_osyncstream&& other) noexcept;
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 `os.get_wrapped()` prior to calling this constructor.
26
  `nullptr == other.get_wrapped()` is `true`.
27
 
 
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
 
14
  *Ensures:* `get_wrapped() == buf` is `true`.
15
 
16
  ``` cpp
17
  basic_osyncstream(basic_osyncstream&& other) noexcept;
 
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