Browse Source

Coding style: where to put deleted constructors and assignment operators.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
901c987d35
  1. 5
      doc/coding-style.dox

5
doc/coding-style.dox

@ -123,8 +123,9 @@ namespace Math {
@subsubsection cpp-classes Class and structure declarations
Class and structure protection levels are ordered as following: first friend
declarations, then public members, then protected members and finally private
members, so class public interface is easy to spot at the top of the file.
declarations, then deleted copy/move constructors and assignment operators,
then public members, then protected members and finally private members, so
class public interface is easy to spot at the top of the file.
Members are ordered as following: first classes and enums, then static
functions, then non-static functions, then static variables, then non-static

Loading…
Cancel
Save