| 61 | allocator_type get_allocator() const { return array_.get_allocator(); } |
| 62 | |
| 63 | void reset(std::size_t s) { |
| 64 | if (s == size()) { |
| 65 | std::fill(array_.begin(), array_.end(), element_type(0)); |
| 66 | } else { |
| 67 | array_ = array_type(s, element_type(0), array_.get_allocator()); |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | std::size_t size() const noexcept { return array_.size(); } |
| 72 |
nothing calls this directly
no test coverage detected