| 87 | */ |
| 88 | template <class A> |
| 89 | PX_INLINE explicit Array(const Array<T, A>& other, const Alloc& alloc = Alloc()) |
| 90 | : Alloc(alloc) |
| 91 | { |
| 92 | copy(other); |
| 93 | } |
| 94 | |
| 95 | // This is necessary else the basic default copy constructor is used in the case of both arrays being of the same |
| 96 | // template instance |