From 901c987d35224ef59cf1c591d70fa4a7fca65d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 22 Jun 2012 14:18:10 +0200 Subject: [PATCH] Coding style: where to put deleted constructors and assignment operators. --- doc/coding-style.dox | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/coding-style.dox b/doc/coding-style.dox index 60437cb65..f3e940062 100644 --- a/doc/coding-style.dox +++ b/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