Skip to content
Snippets Groups Projects
Commit 1d0bcfa4 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

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
parent 4bb7b41e
No related branches found
No related tags found
1 merge request!90Implemented Array::resize
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment