The code is formated using the automatic formatter astyle with the option --style=stroustrup
Stroustrup style formatting/indenting uses stroustrup brackets.
Brackets are broken from function definitions only.
Brackets are attached to everything else including
namespaces, classes, and statements within a function, arrays, structs, and enums.
This style frequently is used with an indent of 5 spaces.