Skip to content

Instantly share code, notes, and snippets.

@programmarchy
Last active December 21, 2015 13:49
Show Gist options
  • Save programmarchy/6315441 to your computer and use it in GitHub Desktop.
Save programmarchy/6315441 to your computer and use it in GitHub Desktop.
C++: The One True Style
astyle --style=1tbs --indent=spaces=4 --indent-classes --indent-switches --break-blocks --pad-oper --pad-header --delete-empty-lines --fill-empty-lines --align-pointer=name --align-reference=name --break-closing-brackets --add-brackets --add-one-line-brackets --close-templates --convert-tabs --max-code-length=120 --break-after-logical --unpad-paren *.hpp *.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment