From Jason Turner

[thread.coord]

Diff to HTML by rtfpessoa

tmp/tmpa1kr24gl/{from.md → to.md} RENAMED
@@ -162,11 +162,11 @@ namespace std {
162
  ~barrier();
163
 
164
  barrier(const barrier&) = delete;
165
  barrier& operator=(const barrier&) = delete;
166
 
167
- [[nodiscard]] arrival_token arrive(ptrdiff_t update = 1);
168
  void wait(arrival_token&& arrival) const;
169
 
170
  void arrive_and_wait();
171
  void arrive_and_drop();
172
 
@@ -250,11 +250,11 @@ destroyed. — *end note*]
250
 
251
  *Throws:* Any exception thrown by `CompletionFunction`’s move
252
  constructor.
253
 
254
  ``` cpp
255
- [[nodiscard]] arrival_token arrive(ptrdiff_t update = 1);
256
  ```
257
 
258
  *Preconditions:* `update > 0` is `true`, and `update` is less than or
259
  equal to the expected count for the current barrier phase.
260
 
 
162
  ~barrier();
163
 
164
  barrier(const barrier&) = delete;
165
  barrier& operator=(const barrier&) = delete;
166
 
167
+ arrival_token arrive(ptrdiff_t update = 1);
168
  void wait(arrival_token&& arrival) const;
169
 
170
  void arrive_and_wait();
171
  void arrive_and_drop();
172
 
 
250
 
251
  *Throws:* Any exception thrown by `CompletionFunction`’s move
252
  constructor.
253
 
254
  ``` cpp
255
+ arrival_token arrive(ptrdiff_t update = 1);
256
  ```
257
 
258
  *Preconditions:* `update > 0` is `true`, and `update` is less than or
259
  equal to the expected count for the current barrier phase.
260