Search code examples
C++ Primer 5th Ed - Stanley Lipmann: Question on shared_ptr.unique() used in conjunction with shared...

c++heap-memoryc++20dynamic-memory-allocationshared-ptr

Read More
Segmentation fault on copy custom dynamic array...

c++memorydynamic-memory-allocation

Read More
Why in Xcode debugger and instruments some memory is just "malloc(48 bytes)"...

swiftxcodedebuggingdynamic-memory-allocation

Read More
c++ swapping content of array - Selection Sort...

c++sortingdynamic-memory-allocationselection-sortfunction-declaration

Read More
How to declare a 2d Array without knowing the dimensions?...

cmultidimensional-arraydynamic-memory-allocation

Read More
Segfault with memcpy and array...

cpointersdynamic-memory-allocation

Read More
Why can't I reassign flexible array member?...

cstructdynamic-memory-allocationflexible-array-member

Read More
What and where are the stack and heap?...

data-structuresmemory-managementheap-memorydynamic-memory-allocationstack-memory

Read More
How to default initialise non-POD object onto same address?...

c++memorynullconstantsdynamic-memory-allocation

Read More
Why a pointer to user-defined object does not hold the same address in the memory as the user-defind...

objective-cpointersdynamic-memory-allocation

Read More
error: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Werror=restrict]...

cpointersprintfdynamic-memory-allocation

Read More
Problems with memory allocation and input (C)...

csegmentation-faultdynamic-memory-allocationrealloc

Read More
What will happen if I call `allocate_at_least(0)` according to C++23 standard?...

c++language-lawyerdynamic-memory-allocationallocatorc++23

Read More
How to set `opt.narenas` for jemalloc in code?...

memory-managementdynamic-memory-allocationjemalloc

Read More
Problem with assigning value to reallocated dynamic array - maze solver...

arrayscdynamicdynamic-memory-allocationmaze

Read More
"Memory allocated with calloc must be freed all at once"?...

cmallocdynamic-memory-allocationfreecalloc

Read More
Freeing memory for dynamically allocated hashmap with structs as values - C...

cstructhashmapdynamic-memory-allocationfree

Read More
realloc(): invalid old size and Aborted (core dumped) when using realloc and free in a while loop...

clinked-listdynamic-memory-allocation

Read More
Why do we unmap memory right after copying to it...

c++memory-managementdynamic-memory-allocationvulkantexture-mapping

Read More
How to avoid reallocating an array of pointers when we dont know the exact size from start...

cdata-structuresdynamic-memory-allocation

Read More
How to define different [global_allocator]s for a monolithic os kernel and its applications...

rustoperating-systemkerneldynamic-memory-allocationosdev

Read More
How do I cast the elements referred by a slice without heap allocation?...

rustmemory-managementdynamic-memory-allocationallocation

Read More
What are the differences between using vector and using new,delete in c++?...

vectordynamic-memory-allocationnew-operator

Read More
What is wrong with this Reflection.Emit for value conversion delegates?...

c#garbage-collectiondynamic-memory-allocationreflection.emitlinq-expressions

Read More
Find the some smallest negative using Dynamic memory allocation in C...

cdynamic-memory-allocation

Read More
C dynamic memory allocation...

cmallocdynamic-memory-allocationrealloccalloc

Read More
Access violation after reallocating memory...

cdynamic-memory-allocation

Read More
Partially deallocating structs/classes in C++...

c++c++11memoryheap-memorydynamic-memory-allocation

Read More
Structure - Unknown Size...

cstructuredynamic-memory-allocation

Read More
Problem with reallocating array during runtime in Cpp...

c++arraysdynamic-memory-allocation

Read More
BackNext