tmp/tmp91p5o465/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,9 @@
|
|
| 1 |
#### Capacity <a id="string.view.capacity">[[string.view.capacity]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
constexpr size_type size() const noexcept;
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Returns:* `size_`.
|
| 8 |
-
|
| 9 |
-
``` cpp
|
| 10 |
constexpr size_type length() const noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Returns:* `size_`.
|
| 14 |
|
|
@@ -18,10 +13,10 @@ constexpr size_type max_size() const noexcept;
|
|
| 18 |
|
| 19 |
*Returns:* The largest possible number of char-like objects that can be
|
| 20 |
referred to by a `basic_string_view`.
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
-
constexpr bool empty() const noexcept;
|
| 24 |
```
|
| 25 |
|
| 26 |
*Returns:* `size_ == 0`.
|
| 27 |
|
|
|
|
| 1 |
#### Capacity <a id="string.view.capacity">[[string.view.capacity]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
constexpr size_type size() const noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
constexpr size_type length() const noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* `size_`.
|
| 9 |
|
|
|
|
| 13 |
|
| 14 |
*Returns:* The largest possible number of char-like objects that can be
|
| 15 |
referred to by a `basic_string_view`.
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
+
[[nodiscard]] constexpr bool empty() const noexcept;
|
| 19 |
```
|
| 20 |
|
| 21 |
*Returns:* `size_ == 0`.
|
| 22 |
|