Implemented Array::resize using the STL semantics almost exactly
- if ValueType is a fundamental type, the Array behaves the same as before (allocated elements are initialized to indeterminate values) - otherwise, allocated elements are value-initialized using MemoryOperations::construct and destructed using MemoryOperations::destruct before their deallocation
Loading
Please sign in to comment