Virtual Destructor & Pure Virtual Destructor c++

Pure virtual destructor C++: is declared just like a pure virtual function, i.e. having =0 in…

Smart Pointer: understanding unique_ptr

C++ smart pointers: std::unique_ptr does everything which std::auto_ptr does, plus it also takes care of exclusive…

std move () : How this template function works?

The std::move( ) is a function template which perform static casts. The std::move( ) unconditionally casts…

Shared Pointer: Understanding shared_ptr

The shared ownership is tracked using a reference count property, which manages the count of shared…

What are the drawbacks of using enum ?

However, there are serious drawbacks with enum variables in standard C++. First drawback is that the…