Navigation Menu

Skip to content

Commit

Permalink
doc coding-style: add memos
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 16, 2012
1 parent 3d65925 commit c92df7b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/source/developer/coding_style.rst
Expand Up @@ -565,3 +565,12 @@ C++では真偽値に ``bool`` を使うためこのような状況は発生し
* 必要以上にオブジェクトを複製しない
* 暗黙の型変換はなるべく避ける
* assertを積極的に使う

メモ
----

* 動的テンプレートを使わない。(要追加情報。implicit template?)
* typeidを使わない。
* 例外はMySQLで問題がないようであればOK。mroongaから外の世
界(MySQLの世界)にはださないようにする。
* castはCのキャストではなくC++のキャストを使う。

0 comments on commit c92df7b

Please sign in to comment.