| 184 | |
| 185 | template <class T, u64 I> |
| 186 | sequence<T, I>::~sequence() noexcept |
| 187 | { |
| 188 | for(u64 i = 0; i < this->size(); ++i) |
| 189 | std::destroy_at(this->data_at(i)); |
| 190 | this->size_ = 0; |
| 191 | if(!this->is_short()) |
| 192 | { |
| 193 | const byte* data = reinterpret_cast<byte*>(this->as_large().heap_storage); |
| 194 | allocator<byte>::deallocate_array(data); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | template <class T, u64 I> |
| 199 | typename sequence<T, I>::const_iterator sequence<T, I>::cbegin() const noexcept |
nothing calls this directly
no test coverage detected