... and here is how to reformat your source code:
(1) Install clang-format, which comes with the clang compiler, e.g. the "clang-format-3.6" package on Ubuntu
(2) Run "clang-format -i *.hh *.cc" (the "-i" option modifies files in-place)
(3) For added benefit: Install a clang-format package for your favourite editor that provides a key shortcode for reformatting, or even reformats automatically when you save (that's what I do). I'm using Atom <
https://atom.io> with <
https://github.com/LQDH/atom-clang-format> for this.
-erik