| 187 | } |
| 188 | |
| 189 | std::size_t |
| 190 | size() const noexcept |
| 191 | { |
| 192 | return s_.k == kind::string ? |
| 193 | p_.t->size : |
| 194 | sbo_chars_ - |
| 195 | s_.buf[sbo_chars_]; |
| 196 | } |
| 197 | |
| 198 | std::size_t |
| 199 | capacity() const noexcept |
nothing calls this directly
no outgoing calls
no test coverage detected