tmp/tmps4vvbgxd/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
### Bitwise operations <a id="bitwise.operations">[[bitwise.operations]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
The library provides basic function object classes for all of the
|
| 4 |
-
bitwise operators in the language
|
| 5 |
-
[[expr.xor]], [[expr.unary.op]]
|
| 6 |
|
| 7 |
#### Class template `bit_and` <a id="bitwise.operations.and">[[bitwise.operations.and]]</a>
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
template<class T = void> struct bit_and {
|
|
@@ -116,11 +118,11 @@ template<> struct bit_not<void> {
|
|
| 116 |
using is_transparent = unspecified;
|
| 117 |
};
|
| 118 |
```
|
| 119 |
|
| 120 |
``` cpp
|
| 121 |
-
template<class T> constexpr auto operator()(T&&) const
|
| 122 |
-> decltype(~std::forward<T>(t));
|
| 123 |
```
|
| 124 |
|
| 125 |
*Returns:* `~std::forward<T>(t)`.
|
| 126 |
|
|
|
|
| 1 |
### Bitwise operations <a id="bitwise.operations">[[bitwise.operations]]</a>
|
| 2 |
|
| 3 |
+
#### General <a id="bitwise.operations.general">[[bitwise.operations.general]]</a>
|
| 4 |
+
|
| 5 |
The library provides basic function object classes for all of the
|
| 6 |
+
bitwise operators in the language
|
| 7 |
+
[[expr.bit.and]], [[expr.or]], [[expr.xor]], [[expr.unary.op]].
|
| 8 |
|
| 9 |
#### Class template `bit_and` <a id="bitwise.operations.and">[[bitwise.operations.and]]</a>
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
template<class T = void> struct bit_and {
|
|
|
|
| 118 |
using is_transparent = unspecified;
|
| 119 |
};
|
| 120 |
```
|
| 121 |
|
| 122 |
``` cpp
|
| 123 |
+
template<class T> constexpr auto operator()(T&& t) const
|
| 124 |
-> decltype(~std::forward<T>(t));
|
| 125 |
```
|
| 126 |
|
| 127 |
*Returns:* `~std::forward<T>(t)`.
|
| 128 |
|