Added missing header, doc fixed
authorkhizmax <libcds.dev@gmail.com>
Tue, 2 Jun 2015 19:30:33 +0000 (22:30 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 2 Jun 2015 19:30:33 +0000 (22:30 +0300)
cds/container/split_list_map.h
cds/container/split_list_map_rcu.h
cds/container/split_list_set.h
cds/container/split_list_set_rcu.h
cds/intrusive/details/split_list_base.h

index 664cc7ae4fe79d7fd2970c5445781ea5b99b10c2..ed1e3437f91ad44f5bd234f71730e2788d2d3f28 100644 (file)
@@ -19,7 +19,7 @@ namespace cds { namespace container {
         See intrusive::SplitListSet for a brief description of the split-list algorithm.
 
         Template parameters:
-        - \p GC - Garbage collector used
+        - \p GC - Garbage collector used like \p cds::gc::HP or \p cds::gc::DHP
         - \p Key - key type of an item stored in the map. It should be copy-constructible
         - \p Value - value type stored in the map
         - \p Traits - map traits, default is \p split_list::traits. Instead of declaring \p %split_list::traits -based
@@ -75,7 +75,7 @@ namespace cds { namespace container {
 
         You may use the modern option-based declaration instead of classic type-traits-based one:
         \code
-        typedef cc:SplitListMap<
+        typedef cc::SplitListMap<
             cs::gc::DHP             // GC used
             ,int                    // key type
             ,std::string            // value type
index 9d9397258a23eac8e9a6beba75ba8b84307b62b0..a66b8bb82a482d91d590b81b3d66bcafe64cbed0 100644 (file)
@@ -112,7 +112,7 @@ namespace cds { namespace container {
 
         You may use the modern option-based declaration instead of classic traits-based one:
         \code
-        typedef cc:SplitListMap<
+        typedef cc::SplitListMap<
             cds::urcu::gc<cds::urcu::general_buffered<> >  // RCU type
             ,int                    // key type
             ,std::string            // value type
index 5c0ecaa77f8011b28facb47c3f6a6e7c2829e5c5..553e1168acf9ad436b11441f4b7db75bb4fecf4b 100644 (file)
@@ -95,7 +95,7 @@ namespace cds { namespace container {
 
         You may use the modern option-based declaration instead of classic traits-based one:
         \code
-        typedef cc:SplitListSet<
+        typedef cc::SplitListSet<
             cs::gc::DHP             // GC used
             ,foo                    // type of data stored
             ,cc::split_list::make_traits<      // metafunction to build split-list traits
index f2d802aedbbe0f9ad4613b5aa2f601127b14a91b..6b7aa3ae81e65ace33b63d33bb9e9ccc180b075b 100644 (file)
@@ -195,7 +195,7 @@ namespace cds { namespace container {
 
         You may use the modern option-based declaration instead of classic type-traits-based one:
         \code
-        typedef cc:SplitListSet<
+        typedef cc::SplitListSet<
             cds::urcu::gc<cds::urcu::general_buffered<> >   // RCU type used
             ,foo                                            // type of data stored
             ,cc::split_list::make_traits<      // metafunction to build split-list traits
index 94e11ca3c7d96a21b25b171f1a56b7405bfeefab..79ecbc20b0f148447e2a95861e0e7e99f7cfd3f0 100644 (file)
@@ -8,6 +8,7 @@
 #include <cds/details/allocator.h>
 #include <cds/algo/int_algo.h>
 #include <cds/algo/bitop.h>
+#include <cds/opt/hash.h>
 
 namespace cds { namespace intrusive {