*
* The code was adapted from a code example from the book The C++
* Standard Library - A Tutorial and Reference by Nicolai M. Josuttis,
*
* The code was adapted from a code example from the book The C++
* Standard Library - A Tutorial and Reference by Nicolai M. Josuttis,