[Groonga-commit] groonga/grnxx at 40aa2f9 [master] Add default arguments.

アーカイブの一覧に戻る

susumu.yata null+****@clear*****
Tue May 28 17:51:59 JST 2013


susumu.yata	2013-05-28 17:51:59 +0900 (Tue, 28 May 2013)

  New Revision: 40aa2f9e284c53d30cb013100b3b57c5f28d5b69
  https://github.com/groonga/grnxx/commit/40aa2f9e284c53d30cb013100b3b57c5f28d5b69

  Message:
    Add default arguments.

  Modified files:
    lib/grnxx/bit_array.hpp

  Modified: lib/grnxx/bit_array.hpp (+3 -3)
===================================================================
--- lib/grnxx/bit_array.hpp    2013-05-28 17:38:49 +0900 (03371d4)
+++ lib/grnxx/bit_array.hpp    2013-05-28 17:51:59 +0900 (f76590e)
@@ -29,9 +29,9 @@ namespace grnxx {
 class Storage;
 
 // Bit array.
-template <uint64_t PAGE_SIZE_IN_BITS,
-          uint64_t TABLE_SIZE,
-          uint64_t SECONDARY_TABLE_SIZE>
+template <uint64_t PAGE_SIZE_IN_BITS = ARRAY_DEFAULT_PAGE_SIZE,
+          uint64_t TABLE_SIZE = ARRAY_DEFAULT_TABLE_SIZE,
+          uint64_t SECONDARY_TABLE_SIZE = ARRAY_DEFAULT_SECONDARY_TABLE_SIZE>
 class BitArray {
  public:
   // Internal type to store bits.
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る