| 3615 | |
| 3616 | template<typename U> |
| 3617 | static inline void destroy_array(U* p, size_t count) |
| 3618 | { |
| 3619 | if (p != nullptr) { |
| 3620 | assert(count > 0); |
| 3621 | for (size_t i = count; i != 0; ) |
| 3622 | (p + --i)->~U(); |
| 3623 | } |
| 3624 | aligned_free<U>(p); |
| 3625 | } |
| 3626 | |
| 3627 | template<typename U> |
| 3628 | static inline U* create() |