| 447 | |
| 448 | template <class T> |
| 449 | void fast_vector<T>::pop_back() |
| 450 | { |
| 451 | assert(m_size > 0 && "Container is empty"); |
| 452 | |
| 453 | if constexpr (!std::is_trivial_v<T>) |
| 454 | { |
| 455 | m_data[m_size - 1].~T(); |
| 456 | } |
| 457 | |
| 458 | m_size--; |
| 459 | } |
| 460 | |
| 461 | template <class T> |
| 462 | void fast_vector<T>::resize(size_type count) |
no outgoing calls
no test coverage detected