Created
December 2, 2017 19:15
-
-
Save assapir/5706790ede87a016d7b5c4bb1e84fd2e to your computer and use it in GitHub Desktop.
coding conventions example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "example.h" | |
// space line | |
#include <system includes> // by alphabetic order | |
#include "project includes" // by alphabetic order | |
class CameCse : public BaseClass { | |
public: | |
void LongFunctionName( | |
/*2 spaces after ( */ int camelCase1, | |
int bla) | |
: mCamelCase(camelCase), | |
mBla(bla) // by the order of the private in the h file! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment