tmp/tmplkgkrt8e/{from.md → to.md}
RENAMED
|
@@ -9,11 +9,11 @@ template<class T, class U> bool operator==(const shared_ptr<T>& a, const shared_
|
|
| 9 |
``` cpp
|
| 10 |
template<class T, class U> bool operator<(const shared_ptr<T>& a, const shared_ptr<U>& b) noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Returns:* `less<V>()(a.get(), b.get())`, where `V` is the composite
|
| 14 |
-
pointer type
|
| 15 |
|
| 16 |
Defining a comparison operator allows `shared_ptr` objects to be used as
|
| 17 |
keys in associative containers.
|
| 18 |
|
| 19 |
``` cpp
|
|
|
|
| 9 |
``` cpp
|
| 10 |
template<class T, class U> bool operator<(const shared_ptr<T>& a, const shared_ptr<U>& b) noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Returns:* `less<V>()(a.get(), b.get())`, where `V` is the composite
|
| 14 |
+
pointer type (Clause [[expr]]) of `T*` and `U*`.
|
| 15 |
|
| 16 |
Defining a comparison operator allows `shared_ptr` objects to be used as
|
| 17 |
keys in associative containers.
|
| 18 |
|
| 19 |
``` cpp
|