| 55 | [[nodiscard]] constexpr auto bytes() const -> size_t { return sizeof(T) * size(); } |
| 56 | |
| 57 | void destroy() { |
| 58 | size_t num_elements = size(); |
| 59 | atraits::deallocate(allocator_, pointer_, num_elements); |
| 60 | pointer_ = nullptr; |
| 61 | } |
| 62 | |
| 63 | public: |
| 64 | using allocator_type = Alloc; |