| 94 | |
| 95 | template <typename T> |
| 96 | inline void construct_array(T* p, size_t n) |
| 97 | { |
| 98 | T* q = p + n; |
| 99 | for (; p != q; ++p) |
| 100 | new (static_cast<void*>(p)) T; |
| 101 | } |
| 102 | |
| 103 | template <typename T, typename U> |
| 104 | inline void construct_array(T* p, size_t n, const U& init) |
no outgoing calls
no test coverage detected