C-Plus-Plus

C++ unique_ptr member functions swap, release, reset

In this article, we are going to learn about the member functions of unique_ptr class template. These functions are very useful when we make use of the unique_ptr smart pointer in our programs and applications code. There are many types of functions associated with unique_ptr pointer. These are: Modifiers release() reset() swap() Observers 1.get() 2.get_deleter() …

C++ unique_ptr member functions swap, release, reset Read More »

Override keyword in C++11

In this article, we are going to learn about one of the new features Override keyword in C++11. This keyword is introduced to help to specify the functions as an override in cases of Virtual functions. As we already have the support of virtual functions in C++ before C++11, so this new feature is just …

Override keyword in C++11 Read More »