From: khizmax Date: Tue, 2 Jun 2015 19:30:33 +0000 (+0300) Subject: Added missing header, doc fixed X-Git-Tag: v2.1.0~217 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=843bd61baee6189154f9b7fd8768c688752af8e8;p=libcds.git Added missing header, doc fixed --- diff --git a/cds/container/split_list_map.h b/cds/container/split_list_map.h index 664cc7ae..ed1e3437 100644 --- a/cds/container/split_list_map.h +++ b/cds/container/split_list_map.h @@ -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 diff --git a/cds/container/split_list_map_rcu.h b/cds/container/split_list_map_rcu.h index 9d939725..a66b8bb8 100644 --- a/cds/container/split_list_map_rcu.h +++ b/cds/container/split_list_map_rcu.h @@ -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 > // RCU type ,int // key type ,std::string // value type diff --git a/cds/container/split_list_set.h b/cds/container/split_list_set.h index 5c0ecaa7..553e1168 100644 --- a/cds/container/split_list_set.h +++ b/cds/container/split_list_set.h @@ -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 diff --git a/cds/container/split_list_set_rcu.h b/cds/container/split_list_set_rcu.h index f2d802ae..6b7aa3ae 100644 --- a/cds/container/split_list_set_rcu.h +++ b/cds/container/split_list_set_rcu.h @@ -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 > // RCU type used ,foo // type of data stored ,cc::split_list::make_traits< // metafunction to build split-list traits diff --git a/cds/intrusive/details/split_list_base.h b/cds/intrusive/details/split_list_base.h index 94e11ca3..79ecbc20 100644 --- a/cds/intrusive/details/split_list_base.h +++ b/cds/intrusive/details/split_list_base.h @@ -8,6 +8,7 @@ #include #include #include +#include namespace cds { namespace intrusive {