From Jason Turner

[string.view.capacity]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpo2mrrng0/{from.md → to.md} +27 -0
tmp/tmpo2mrrng0/{from.md → to.md} RENAMED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
15
+ ``` cpp
16
+ constexpr size_type max_size() const noexcept;
17
+ ```
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
+