Heap memory
Applies to: cpp, c, general
Heap memory is dynamically allocated memory whose lifetime must be managed explicitly or by an owning object.
auto p = std::make_unique<int>(5);
See also: pointer, stack-memory, raii
Applies to: cpp, c, general
Heap memory is dynamically allocated memory whose lifetime must be managed explicitly or by an owning object.
auto p = std::make_unique<int>(5);
See also: pointer, stack-memory, raii