Skip to main content

One doc tagged with "allocation"

View all tags

new and delete Operators

Manual dynamic memory management in C++. Allocates on heap, requires explicit deallocation. Modern C++ prefers smart pointers.