Update standard with robert's now proposal
This commit is contained in:
parent
df3305dfa6
commit
26b73fc09d
@ -13,6 +13,8 @@ must do's:
|
|||||||
const wherever possible (const-correctness)
|
const wherever possible (const-correctness)
|
||||||
pass by pointer or by reference
|
pass by pointer or by reference
|
||||||
prefer reference over pointer
|
prefer reference over pointer
|
||||||
|
keep implementation in source files with template and constexpr as exceptions
|
||||||
|
keep template/constexpr implementations in .tpp files alongside the .hpp files
|
||||||
functions:
|
functions:
|
||||||
50 max length
|
50 max length
|
||||||
comments max 2 lines
|
comments max 2 lines
|
||||||
@ -76,3 +78,4 @@ no-no's:
|
|||||||
`class` in template parameter list
|
`class` in template parameter list
|
||||||
struct keyword before an object declaration
|
struct keyword before an object declaration
|
||||||
struct game_state* gl; //bad boi
|
struct game_state* gl; //bad boi
|
||||||
|
excess include directives
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user