From Jason Turner

[atomics.ref.memop]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpmjbtcmun/{from.md → to.md} +26 -0
tmp/tmpmjbtcmun/{from.md → to.md} RENAMED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Member operators common to integers and pointers to objects <a id="atomics.ref.memop">[[atomics.ref.memop]]</a>
2
+
3
+ ``` cpp
4
+ value_type operator++(int) const noexcept;
5
+ ```
6
+
7
+ *Effects:* Equivalent to: `return fetch_add(1);`
8
+
9
+ ``` cpp
10
+ value_type operator--(int) const noexcept;
11
+ ```
12
+
13
+ *Effects:* Equivalent to: `return fetch_sub(1);`
14
+
15
+ ``` cpp
16
+ value_type operator++() const noexcept;
17
+ ```
18
+
19
+ *Effects:* Equivalent to: `return fetch_add(1) + 1;`
20
+
21
+ ``` cpp
22
+ value_type operator--() const noexcept;
23
+ ```
24
+
25
+ *Effects:* Equivalent to: `return fetch_sub(1) - 1;`
26
+