[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] doc coding-style: add memos

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:39:14 JST 2012


Kouhei Sutou	2012-03-16 11:19:50 +0900 (Fri, 16 Mar 2012)

  New Revision: c92df7b5a795acd7d3aca1808c7d505701e5d2eb
  https://github.com/mroonga/mroonga/commit/c92df7b5a795acd7d3aca1808c7d505701e5d2eb

  Log:
    doc coding-style: add memos

  Modified files:
    doc/source/developer/coding_style.rst

  Modified: doc/source/developer/coding_style.rst (+9 -0)
===================================================================
--- doc/source/developer/coding_style.rst    2012-03-16 10:15:51 +0900 (fd25fd3)
+++ doc/source/developer/coding_style.rst    2012-03-16 11:19:50 +0900 (4be00fb)
@@ -565,3 +565,12 @@ C++では真偽値に ``bool`` を使うためこのような状況は発生し
   * 必要以上にオブジェクトを複製しない
   * 暗黙の型変換はなるべく避ける
   * assertを積極的に使う
+
+メモ
+----
+
+  * 動的テンプレートを使わない。(要追加情報。implicit template?)
+  * typeidを使わない。
+  * 例外はMySQLで問題がないようであればOK。mroongaから外の世
+    界(MySQLの世界)にはださないようにする。
+  * castはCのキャストではなくC++のキャストを使う。
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index