skip to content

Memory and RAII

0 questions

Who owns a piece of memory and when it is released: stack versus heap allocation, the RAII idiom, destructor guarantees, and unique_ptr, shared_ptr and weak_ptr with custom deleters. Interviewers open here because leaks, double frees and dangling pointers are the classic C++ failure modes, and RAII is the answer they are listening for.

questions

no questions here yet

this part of the tree is still being written

>
0 questions in this topic or below it