| 115 | |
| 116 | template <typename T> |
| 117 | inline void construct_array(T* p, size_t n) |
| 118 | { |
| 119 | T* q = p + n; |
| 120 | for (; p != q; ++p) |
| 121 | new (static_cast<void*>(p)) T; |
| 122 | } |
| 123 | |
| 124 | template <typename T, typename U> |
| 125 | inline void construct_array(T* p, size_t n, const U& init) |
no outgoing calls
no test coverage detected