From: khizmax Date: Fri, 5 Feb 2016 20:50:24 +0000 (+0300) Subject: Docfix X-Git-Tag: v2.2.0~412 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=483c90c10281c5f400568dac6cc8a88c42cd5eef;p=libcds.git Docfix --- diff --git a/cds/intrusive/vyukov_mpmc_cycle_queue.h b/cds/intrusive/vyukov_mpmc_cycle_queue.h index 63d135cf..e773636f 100644 --- a/cds/intrusive/vyukov_mpmc_cycle_queue.h +++ b/cds/intrusive/vyukov_mpmc_cycle_queue.h @@ -95,17 +95,17 @@ namespace cds { namespace intrusive { Template parameters: - \p T - type stored in queue. - - \p Traits - queue traits, default is \p vykov_queue::traits. You can use \p vykov_queue::make_traits - metafunction to make your traits or just derive your traits from \p %vykov_queue::traits: + - \p Traits - queue traits, default is \p vyukov_queue::traits. You can use \p vyukov_queue::make_traits + metafunction to make your traits or just derive your traits from \p %vyukov_queue::traits: \code - struct myTraits: public cds::intrusive::vykov_queue::traits { + struct myTraits: public cds::intrusive::vyukov_queue::traits { typedef cds::atomicity::item_counter item_counter; }; typedef cds::intrusive::VyukovMPMCCycleQueue< Foo, myTraits > myQueue; // Equivalent make_traits example: typedef cds::intrusive::VyukovMPMCCycleQueue< cds::gc::HP, Foo, - typename cds::intrusive::vykov_queue::make_traits< + typename cds::intrusive::vyukov_queue::make_traits< cds::opt::item_counter< cds::atomicity::item_counter > >::type > myQueue;