From Jason Turner

[syncstream.syncbuf.members]

Diff to HTML by rtfpessoa

tmp/tmpisqtuolx/{from.md → to.md} RENAMED
@@ -8,25 +8,25 @@ bool emit();
8
  stream buffer `*wrapped`, so that it appears in the output stream as a
9
  contiguous sequence of characters. `wrapped->pubsync()` is called if and
10
  only if a call was made to `sync()` since the most recent call to
11
  `emit()`, if any.
12
 
 
 
 
 
 
 
 
13
  *Returns:* `true` if all of the following conditions hold; otherwise
14
  `false`:
15
 
16
  - `wrapped == nullptr` is `false`.
17
  - All of the characters in the associated output were successfully
18
  transferred.
19
  - The call to `wrapped->pubsync()` (if any) succeeded.
20
 
21
- *Ensures:* On success, the associated output is empty.
22
-
23
- *Synchronization:* All `emit()` calls transferring characters to the
24
- same stream buffer object appear to execute in a total order consistent
25
- with the “happens before” relation [[intro.races]], where each `emit()`
26
- call synchronizes with subsequent `emit()` calls in that total order.
27
-
28
  *Remarks:* May call member functions of `wrapped` while holding a lock
29
  uniquely associated with `wrapped`.
30
 
31
  ``` cpp
32
  streambuf_type* get_wrapped() const noexcept;
 
8
  stream buffer `*wrapped`, so that it appears in the output stream as a
9
  contiguous sequence of characters. `wrapped->pubsync()` is called if and
10
  only if a call was made to `sync()` since the most recent call to
11
  `emit()`, if any.
12
 
13
+ *Synchronization:* All `emit()` calls transferring characters to the
14
+ same stream buffer object appear to execute in a total order consistent
15
+ with the “happens before” relation [[intro.races]], where each `emit()`
16
+ call synchronizes with subsequent `emit()` calls in that total order.
17
+
18
+ *Ensures:* On success, the associated output is empty.
19
+
20
  *Returns:* `true` if all of the following conditions hold; otherwise
21
  `false`:
22
 
23
  - `wrapped == nullptr` is `false`.
24
  - All of the characters in the associated output were successfully
25
  transferred.
26
  - The call to `wrapped->pubsync()` (if any) succeeded.
27
 
 
 
 
 
 
 
 
28
  *Remarks:* May call member functions of `wrapped` while holding a lock
29
  uniquely associated with `wrapped`.
30
 
31
  ``` cpp
32
  streambuf_type* get_wrapped() const noexcept;