[Design pattern 18 — Behavioral]Memento Pattern in C++ What you should know …

The Memento Pattern is the “Undo” button of the software design world. It’s all about capturing and restoring an object’s internal state…