21 new features of Modern C++ to use in your project, Move Constructor & Assignment Operator, unique_ptr with example in C++

Move Constructor & Assignment Operator With std::shared_ptr

Reading Time: 4 minutes In an earlier article, we have seen how move constructor & move assignment operators helped us in creating our own unique_ptr. Here we will use move constructor & assignment operator to implement unsophisticated shared_ptr. Implementing Our shared_ptr with Move Constructor […]

21 new features of Modern C++ to use in your project, Move Constructor & Assignment Operator, unique_ptr with example in C++

Understanding unique_ptr with Example in C++11

Reading Time: 6 minutes The smart pointers are a really good mechanism to manage dynamically allocated resources. In this article, we will see unique_ptr with example in C++11. But we don’t discuss standard smart pointers from a library. Rather, we implement our own smart […]