Monthly Archives: June 2017



code
Syntax [crayon-5cb9e7a0567ab629970968/] Usage / Usability Declares to the compiler that a given function will NEVER propagate an exception A function declared as noexcept that encounters an exception will immediately terminate the program By default, it occurs as noexcept(true), and is used as noexcept Allows for flexible conditional enabling of the […]

General features: noexcept


Command
Command pattern is simply straightforward, and my implementation is one from many other possible variations. The usual,well-known command pattern is created by having: – a base class, interface, with a virtual function (usually called execute or similar) [crayon-5cb9e7a056b7e511957424/] – multiple classes that implement the interface and override the execute function […]

Design patterns – Command