| 179 | |
| 180 | template <typename... Args> |
| 181 | void emplace_back(Args&&... args) { |
| 182 | if (size_ == capacity_) { |
| 183 | grow_capacity(); |
| 184 | } |
| 185 | new (&data_[size_]) T(std::forward<Args>(args)...); |
| 186 | ++size_; |
| 187 | } |
| 188 | |
| 189 | void clear() noexcept { |
| 190 | for (size_type i = 0; i < size_; ++i) { |
nothing calls this directly
no outgoing calls
no test coverage detected