From Jason Turner

[span.obs]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp_sk5gls0/{from.md → to.md} +20 -0
tmp/tmp_sk5gls0/{from.md → to.md} RENAMED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Observers <a id="span.obs">[[span.obs]]</a>
2
+
3
+ ``` cpp
4
+ constexpr size_type size() const noexcept;
5
+ ```
6
+
7
+ *Effects:* Equivalent to: `return size_;`
8
+
9
+ ``` cpp
10
+ constexpr size_type size_bytes() const noexcept;
11
+ ```
12
+
13
+ *Effects:* Equivalent to: `return size() * sizeof(element_type);`
14
+
15
+ ``` cpp
16
+ [[nodiscard]] constexpr bool empty() const noexcept;
17
+ ```
18
+
19
+ *Effects:* Equivalent to: `return size() == 0;`
20
+