| 3029 | |
| 3030 | template<typename U> |
| 3031 | static inline void destroy_array(U* p, size_t count) |
| 3032 | { |
| 3033 | if (p != nullptr) { |
| 3034 | assert(count > 0); |
| 3035 | for (size_t i = count; i != 0; ) { |
| 3036 | (p + --i)->~U(); |
| 3037 | } |
| 3038 | (Traits::free)(p); |
| 3039 | } |
| 3040 | } |
| 3041 | |
| 3042 | template<typename U> |
| 3043 | static inline U* create() |
no outgoing calls
no test coverage detected