Navigation Menu

Skip to content

Commit

Permalink
doc coding-style: add -
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 15, 2012
1 parent c3425f3 commit 87f2e41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/source/developer/coding_style.rst
Expand Up @@ -264,10 +264,10 @@ TODO: ちゃんと考える。
};
}

コピーコンストラクタ
--------------------
コピーコンストラクター
----------------------

基本的にコピーコンストラクタの使用を禁止する
基本的にコピーコンストラクターの使用を禁止する

よい例:

Expand All @@ -277,13 +277,13 @@ TODO: ちゃんと考える。
MyClass(const MyClass &);
}

悪い例(コピーコンストラクタを禁止していない):
悪い例(コピーコンストラクターを禁止していない):

class MyClass
{
}

悪い例(カスタムコピーコンストラクタを使っている):
悪い例(カスタムコピーコンストラクターを使っている):

class MyClass
{
Expand Down

0 comments on commit 87f2e41

Please sign in to comment.