-
Notifications
You must be signed in to change notification settings - Fork 4
Standards and Style Guide
c-bebop edited this page Sep 11, 2015
·
1 revision
We use the
for all C++ implementations.
Own implementations shall be placed in the SSR namespace:
namespace SSR {
//Class, Function etc.
}
Initialization Lists shall be formatted as follows:
Class::Class(...)
: member1(value)
, member2(value)
, member3(value)
{
//Constructor code
}
This makes it more easy to add new initialization list elements and consistent look.
class Class
: public Inherit1
, public Inherit2
, public Inherit3
{
//Class code
}