tmp/tmpz71mxvws/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
###
|
| 2 |
|
| 3 |
The class template `owner_less` allows ownership-based mixed comparisons
|
| 4 |
of shared and weak pointers.
|
| 5 |
|
| 6 |
``` cpp
|
|
@@ -32,11 +32,11 @@ namespace std {
|
|
| 32 |
using is_transparent = unspecified;
|
| 33 |
};
|
| 34 |
}
|
| 35 |
```
|
| 36 |
|
| 37 |
-
`operator()(x, y)`
|
| 38 |
|
| 39 |
[*Note 1*:
|
| 40 |
|
| 41 |
Note that
|
| 42 |
|
|
|
|
| 1 |
+
### Class template `owner_less` <a id="util.smartptr.ownerless">[[util.smartptr.ownerless]]</a>
|
| 2 |
|
| 3 |
The class template `owner_less` allows ownership-based mixed comparisons
|
| 4 |
of shared and weak pointers.
|
| 5 |
|
| 6 |
``` cpp
|
|
|
|
| 32 |
using is_transparent = unspecified;
|
| 33 |
};
|
| 34 |
}
|
| 35 |
```
|
| 36 |
|
| 37 |
+
`operator()(x, y)` returns `x.owner_before(y)`.
|
| 38 |
|
| 39 |
[*Note 1*:
|
| 40 |
|
| 41 |
Note that
|
| 42 |
|