From Jason Turner

[thread.barrier.class]

Diff to HTML by rtfpessoa

tmp/tmpdq4hkxpl/{from.md → to.md} RENAMED
@@ -14,11 +14,11 @@ namespace std {
14
  ~barrier();
15
 
16
  barrier(const barrier&) = delete;
17
  barrier& operator=(const barrier&) = delete;
18
 
19
- [[nodiscard]] arrival_token arrive(ptrdiff_t update = 1);
20
  void wait(arrival_token&& arrival) const;
21
 
22
  void arrive_and_wait();
23
  void arrive_and_drop();
24
 
@@ -102,11 +102,11 @@ destroyed. — *end note*]
102
 
103
  *Throws:* Any exception thrown by `CompletionFunction`’s move
104
  constructor.
105
 
106
  ``` cpp
107
- [[nodiscard]] arrival_token arrive(ptrdiff_t update = 1);
108
  ```
109
 
110
  *Preconditions:* `update > 0` is `true`, and `update` is less than or
111
  equal to the expected count for the current barrier phase.
112
 
 
14
  ~barrier();
15
 
16
  barrier(const barrier&) = delete;
17
  barrier& operator=(const barrier&) = delete;
18
 
19
+ arrival_token arrive(ptrdiff_t update = 1);
20
  void wait(arrival_token&& arrival) const;
21
 
22
  void arrive_and_wait();
23
  void arrive_and_drop();
24
 
 
102
 
103
  *Throws:* Any exception thrown by `CompletionFunction`’s move
104
  constructor.
105
 
106
  ``` cpp
107
+ arrival_token arrive(ptrdiff_t update = 1);
108
  ```
109
 
110
  *Preconditions:* `update > 0` is `true`, and `update` is less than or
111
  equal to the expected count for the current barrier phase.
112