Smart Pointers in C++ (5 tags)
C++ is a powerful language that allows fine-grained control over almost all aspects of your program. Of course, low-level code has its disadvantages too. Manual memory management can be complex and difficult to get right. Fortunately, the RAII idiom and smart pointers can help you write correct and efficient code. Julio M. Merino Vidal demonstrates.