tmp/tmpovo8qzu9/{from.md → to.md}
RENAMED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
#### `operator==` <a id="string::operator==">[[string::operator==]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
template<class charT, class traits, class Allocator>
|
| 5 |
-
bool operator==(const basic_string<charT,traits,Allocator>& lhs,
|
| 6 |
-
const basic_string<charT,traits,Allocator>& rhs) noexcept;
|
| 7 |
-
```
|
| 8 |
-
|
| 9 |
-
*Returns:* `lhs.compare(rhs) == 0`.
|
| 10 |
-
|
| 11 |
-
``` cpp
|
| 12 |
-
template<class charT, class traits, class Allocator>
|
| 13 |
-
bool operator==(const charT* lhs,
|
| 14 |
-
const basic_string<charT,traits,Allocator>& rhs);
|
| 15 |
-
```
|
| 16 |
-
|
| 17 |
-
*Returns:* `rhs == lhs`.
|
| 18 |
-
|
| 19 |
-
``` cpp
|
| 20 |
-
template<class charT, class traits, class Allocator>
|
| 21 |
-
bool operator==(const basic_string<charT,traits,Allocator>& lhs,
|
| 22 |
-
const charT* rhs);
|
| 23 |
-
```
|
| 24 |
-
|
| 25 |
-
*Requires:* `rhs` points to an array of at least
|
| 26 |
-
`traits::length(rhs) + 1` elements of `charT`.
|
| 27 |
-
|
| 28 |
-
*Returns:* `lhs.compare(rhs) == 0`.
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|