cpp.dcl.exercises.3 exercize from the Programming Language C++ by Bjarne Stroustrup