From: khizmax Date: Sat, 4 Oct 2014 19:12:07 +0000 (+0400) Subject: fix type in docs X-Git-Tag: v2.0.0~229 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5516764acfb561acb51900840861d29d2cc9464f;p=libcds.git fix type in docs --- diff --git a/cds/intrusive/msqueue.h b/cds/intrusive/msqueue.h index b1238ece..8d6e0b05 100644 --- a/cds/intrusive/msqueue.h +++ b/cds/intrusive/msqueue.h @@ -224,7 +224,7 @@ namespace cds { namespace intrusive { Template arguments: - \p GC - garbage collector type: \p gc::HP, \p gc::DHP - \p T - type to be stored in the queue. A value of type \p T must be derived from \p msqueue::node for \p msqueue::base_hook, - or it should has a member of type \p %msqueue::node for \p msqueue::member_hook, + or it should have a member of type \p %msqueue::node for \p msqueue::member_hook, or it should be convertible to \p %msqueue::node for \p msqueue::traits_hook. - \p Traits - queue traits, default is \p queue::traits. You can use \p queue::make_traits metafunction to make your traits or just derive your traits from \p %queue::traits: diff --git a/cds/intrusive/treiber_stack.h b/cds/intrusive/treiber_stack.h index d53a4c0f..076afbc0 100644 --- a/cds/intrusive/treiber_stack.h +++ b/cds/intrusive/treiber_stack.h @@ -440,7 +440,7 @@ namespace cds { namespace intrusive { Garbage collecting schema must be the same as \p treiber_stack::node GC. - \p T - a type the stack contains. A value of type \p T must be derived from \p treiber_stack::node for \p treiber_stack::base_hook, - or it should has a member of type \p %treiber_stack::node for \p treiber_stack::member_hook, + or it should have a member of type \p %treiber_stack::node for \p treiber_stack::member_hook, or it should be convertible to \p %treiber_stack::node for \p treiber_stack::traits_hook. - \p Traits - stack traits, default is \p treiber_stack::traits. You can use \p treiber_stack::make_traits metafunction to make your traits or just derive your traits from \p %treiber_stack::traits: