| 35 | } |
| 36 | |
| 37 | size_t size() const { |
| 38 | size_t total = 0; |
| 39 | for (auto node = strings_; node; node = node->next) |
| 40 | total += sizeofString(node->length); |
| 41 | return total; |
| 42 | } |
| 43 | |
| 44 | template <typename TAdaptedString> |
| 45 | StringNode* add(TAdaptedString str, Allocator* allocator) { |
nothing calls this directly
no test coverage detected