malloc/free in C++: why does free not accept a const void*, and is there a better way?
35615
Unable to free const pointers in C
95526
Pass a pointer to a function as read-only in C
68513
How to convert "pointer to pointer type" to const?
104791
Why isn't it legal to convert "pointer to pointer to non-const" to a "pointer to pointer to const"
5367
In what cases do I use malloc and/or new?
54506
How to avoid memory leak with shared_ptr?
117773
What happens when you deallocate a pointer twice or more in C++?
120394
C++ What is the purpose of casting to void?
146368
I can use more memory than how much I've allocated with malloc(), why?
99161
Throwing non-const temporaries by reference
96753
size of a pointer allocated by malloc
74783
What is the difference between const_iterator and non-const iterator in the C++ STL?
96670
Do rvalue references to const have any use?
152241
What's the point of using malloc when you can use pointer?
135079
C++, Free-Store vs Heap
65880
Why can't structs be declared as const?
51685
How do I correctly set up, access, and free a multidimensional array in C?