Remove trailing spaces
authorkhizmax <libcds.dev@gmail.com>
Sat, 1 Nov 2014 05:16:02 +0000 (08:16 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sat, 1 Nov 2014 05:16:02 +0000 (08:16 +0300)
67 files changed:
cds/container/basket_queue.h
cds/container/details/michael_list_base.h
cds/container/impl/lazy_list.h
cds/container/impl/michael_kvlist.h
cds/container/impl/michael_list.h
cds/container/lazy_list_nogc.h
cds/container/lazy_list_rcu.h
cds/container/michael_list_nogc.h
cds/container/michael_list_rcu.h
cds/container/michael_map.h
cds/container/michael_map_rcu.h
cds/container/michael_set.h
cds/container/michael_set_nogc.h
cds/container/michael_set_rcu.h
cds/container/moir_queue.h
cds/container/msqueue.h
cds/container/optimistic_queue.h
cds/container/rwqueue.h
cds/container/segmented_queue.h
cds/container/split_list_map_nogc.h
cds/container/split_list_set.h
cds/container/split_list_set_nogc.h
cds/container/split_list_set_rcu.h
cds/container/treiber_stack.h
cds/container/tsigas_cycle_queue.h
cds/container/vyukov_mpmc_cycle_queue.h
cds/details/marked_ptr.h
cds/intrusive/basket_queue.h
cds/intrusive/details/base.h
cds/intrusive/details/lazy_list_base.h
cds/intrusive/details/michael_list_base.h
cds/intrusive/details/michael_set_base.h
cds/intrusive/details/split_list_base.h
cds/intrusive/impl/lazy_list.h
cds/intrusive/impl/michael_list.h
cds/intrusive/lazy_list_nogc.h
cds/intrusive/michael_list_nogc.h
cds/intrusive/michael_list_rcu.h
cds/intrusive/michael_set.h
cds/intrusive/michael_set_nogc.h
cds/intrusive/michael_set_rcu.h
cds/intrusive/msqueue.h
cds/intrusive/optimistic_queue.h
cds/intrusive/segmented_queue.h
cds/intrusive/split_list.h
cds/intrusive/split_list_nogc.h
cds/intrusive/split_list_rcu.h
cds/intrusive/treiber_stack.h
cds/intrusive/tsigas_cycle_queue.h
cds/intrusive/vyukov_mpmc_cycle_queue.h
tests/test-hdr/deque/hdr_fcdeque.cpp
tests/test-hdr/ordered_list/hdr_intrusive_lazy_nogc.cpp
tests/test-hdr/queue/hdr_basketqueue_dhp.cpp
tests/test-hdr/queue/hdr_basketqueue_hp.cpp
tests/test-hdr/queue/hdr_fcqueue.cpp
tests/test-hdr/queue/hdr_intrusive_basketqueue_dhp.cpp
tests/test-hdr/queue/hdr_intrusive_optimisticqueue_dhp.cpp
tests/test-hdr/queue/hdr_intrusive_optimisticqueue_hp.cpp
tests/test-hdr/set/hdr_intrusive_splitlist_set_hp_lazy.cpp
tests/test-hdr/stack/hdr_elimination_stack_dhp.cpp
tests/test-hdr/stack/hdr_treiber_stack_dhp.cpp
tests/test-hdr/stack/hdr_treiber_stack_hp.cpp
tests/unit/map2/map_delodd.cpp
tests/unit/queue/intrusive_queue_type.h
tests/unit/queue/queue_type.h
tests/unit/set2/set_types.h
tests/unit/stack/stack_type.h

index 376600a26c4d523468060d3ccd796ba3c1a76b8c..e4e62e242159803d4514d043c7d044f335a585e4 100644 (file)
@@ -42,7 +42,7 @@ namespace cds { namespace container {
             typedef basket_queue::empty_stat         stat;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -68,7 +68,7 @@ namespace cds { namespace container {
 
             Example: declare \p %BasketQueue with item counting and internal statistics
             \code
-            typedef cds::container::BasketQueue< cds::gc::HP, Foo, 
+            typedef cds::container::BasketQueue< cds::gc::HP, Foo,
                 typename cds::container::basket_queue::make_traits<
                     cds::opt::item_counte< cds::atomicity::item_counter >,
                     cds::opt::stat< cds::intrusive::basket_queue::stat<> >
@@ -193,8 +193,8 @@ namespace cds { namespace container {
             typedef cds::container::BasketQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::BasketQueue< cds::gc::HP, Foo, 
-                typename cds::container::basket_queue::make_traits< 
+            typedef cds::container::BasketQueue< cds::gc::HP, Foo,
+                typename cds::container::basket_queue::make_traits<
                     cds::opt::stat< cds::container::basket_queue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
index 4660b5ff0689acf35a553b3272630e9b3559a25b..a88eb48511156bcd08492eb330ffa80f4387749c 100644 (file)
@@ -37,7 +37,7 @@ namespace cds { namespace container {
             typedef atomicity::empty_item_counter     item_counter;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
index bc82f5fa8ad0443c01a0934cf6e211a699e1c0e8..eada04e0b2044cae99e431735e21f380b2052827 100644 (file)
@@ -355,7 +355,7 @@ namespace cds { namespace container {
             \code void func( value_type& item ) ;\endcode
 
             The argument \p item of user-defined functor \p func is the reference
-            to the list's item inserted. 
+            to the list's item inserted.
             When \p func is called it has exclusive access to the item.
             The user-defined functor is called only if the inserting is success.
 
index bd82088cf346e74935e35140aad800fd7539d1db..70225fbcafbbbb7a76b45246aaa7d9d9d802a81a 100644 (file)
@@ -17,7 +17,7 @@ namespace cds { namespace container {
         constant key and alterable value.
 
         Usually, ordered single-linked list is used as a building block for the hash table implementation.
-        The complexity of searching is <tt>O(N)</tt> where \p N is the item count in the list, not in the 
+        The complexity of searching is <tt>O(N)</tt> where \p N is the item count in the list, not in the
         hash table.
 
         Template arguments:
index aa89923694434f9de011f37c4638045f229b94bf..d9a1ab94ba3160a334f8cf5c1badb7590dcff95d 100644 (file)
@@ -13,7 +13,7 @@ namespace cds { namespace container {
         \anchor cds_nonintrusive_MichaelList_gc
 
         Usually, ordered single-linked list is used as a building block for the hash table implementation.
-        The complexity of searching is <tt>O(N)</tt>, where \p N is the item count in the list, not in the 
+        The complexity of searching is <tt>O(N)</tt>, where \p N is the item count in the list, not in the
         hash table.
 
         Source:
index bc5d614930ad12bb4c4457870c1c1113e24db0d5..7e46e8da788fc00244a855f4166250e2ff454e5c 100644 (file)
@@ -20,7 +20,7 @@ namespace cds { namespace container {
         @copydetails cds_nonintrusive_LazyList_gc
     */
     template <
-        typename T, 
+        typename T,
 #ifdef CDS_DOXYGEN_INVOKED
         typename Traits = lazy_list::traits
 #else
index d35f318465faf9488e071af4ddb655c161820ab8..744e7669756bc69f211dfd89091124973d39e760 100644 (file)
@@ -348,7 +348,7 @@ namespace cds { namespace container {
             \code void func( value_type& itemValue ) ;\endcode
 
             The argument \p itemValue of user-defined functor \p func is the reference
-            to the list's item inserted. 
+            to the list's item inserted.
             The user-defined functor is called only if the inserting is success.
 
             The type \p Q should contain the complete key of the node.
index 3812342cc0c0412747b3daca84cb1ad13fc28546..3c57529f2a915c47149c3d2ace435d2b85f890a4 100644 (file)
@@ -41,7 +41,7 @@ namespace cds { namespace container {
 
         See \ref cds_nonintrusive_MichaelList_gc "MichaelList" for description of template parameters.
     */
-    template <typename T, 
+    template <typename T,
 #ifdef CDS_DOXYGEN_INVOKED
         class Traits = michael_list::traits
 #else
index 24b6b62fc14d247d916b8d24286a98036b0a8e88..18a99a0adebda7f2b13f61839e4d024405215ad1 100644 (file)
@@ -111,7 +111,7 @@ namespace cds { namespace container {
         //@endcond
 
     public:
-        typedef cds::urcu::gc<RCU> gc;          ///< RCU 
+        typedef cds::urcu::gc<RCU> gc;          ///< RCU
         typedef T                  value_type;  ///< Type of value stored in the list
         typedef Traits             traits;      ///< List traits
 
@@ -420,7 +420,7 @@ namespace cds { namespace container {
         /** \anchor cds_nonintrusive_MichealList_rcu_erase_val
             Since the key of MichaelList's item type \p value_type is not explicitly specified,
             template parameter \p Q defines the key type searching in the list.
-            The list item comparator should be able to compare values of the type \p value_type 
+            The list item comparator should be able to compare values of the type \p value_type
             and \p Q in any order.
 
             RCU \p synchronize method can be called. RCU should not be locked.
index 1f7291e9f9ea494eb2ea5fa267547846a673abc3..5cc0350a470ebf5288e947751d196b09445c4cab 100644 (file)
@@ -377,7 +377,7 @@ namespace cds { namespace container {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value,
                            "atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
index ddf7e8504d2bda36ce68ec326ccb9a1fcae0842e..e06c318ecc4bda89975862a591e210c6b4c092d2 100644 (file)
@@ -291,7 +291,7 @@ namespace cds { namespace container {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
index 91c7ef9453890564092a512118a84cf24d60f9c1..a15d7d2939faaa28dd11d91f56abcb110115794c 100644 (file)
@@ -304,7 +304,7 @@ namespace cds { namespace container {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
@@ -349,7 +349,7 @@ namespace cds { namespace container {
                 void func( value_type& val );
             \endcode
             where \p val is the item inserted.
-            The user-defined functor is called only if the inserting is success. 
+            The user-defined functor is called only if the inserting is success.
 
             @warning For \ref cds_nonintrusive_MichaelList_gc "MichaelList" as the bucket see \ref cds_intrusive_item_creating "insert item troubleshooting".
             \ref cds_nonintrusive_LazyList_gc "LazyList" provides exclusive access to inserted item and does not require any node-level
index bc46d7bc1606de5585abcebedb65f312ed0ba98d..49677655b960bca1bee32b051733859333536543 100644 (file)
@@ -162,7 +162,7 @@ namespace cds { namespace container {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
index 7655ebedb482e5e0015ff0b9dd98580462e288a5..e1e617c1342d9e3a373db7084136f2077f58b3a5 100644 (file)
@@ -22,7 +22,7 @@ namespace cds { namespace container {
 
         Template parameters are:
         - \p RCU - one of \ref cds_urcu_gc "RCU type"
-        - \p OrderedList - ordered list implementation used as the bucket for hash set, for example, 
+        - \p OrderedList - ordered list implementation used as the bucket for hash set, for example,
             \ref cds_nonintrusive_MichaelList_rcu "MichaelList".
             The ordered list implementation specifies the type \p T stored in the hash-set,
             the comparison functor for the type \p T and other features specific for
index 969656f8122478a7f75b61cc4de966f5e7ab4f12..809328ed9a827e271d7fccc8c1dddc54c3ca61e3 100644 (file)
@@ -37,8 +37,8 @@ namespace cds { namespace container {
             typedef cds::container::MoirQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::MoirQueue< cds::gc::HP, Foo, 
-                typename cds::container::msqueue::make_traits< 
+            typedef cds::container::MoirQueue< cds::gc::HP, Foo,
+                typename cds::container::msqueue::make_traits<
                     cds::opt::stat< cds::container::msqueue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
index e217da4f23e51383dba33d53883da90d03ed1af5..3f5c26719124f7c6cc3459296eda4531876573b8 100644 (file)
@@ -40,7 +40,7 @@ namespace cds { namespace container {
             typedef msqueue::empty_stat         stat;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -66,7 +66,7 @@ namespace cds { namespace container {
 
             Example: declare \p %MSQueue with item counting and internal statistics
             \code
-            typedef cds::container::MSQueue< cds::gc::HP, Foo, 
+            typedef cds::container::MSQueue< cds::gc::HP, Foo,
                 typename cds::container::msqueue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >,
                     cds::opt::stat< cds::container::msqueue::stat<> >
@@ -151,8 +151,8 @@ namespace cds { namespace container {
             typedef cds::container::MSQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::MSQueue< cds::gc::HP, Foo, 
-                typename cds::container::msqueue::make_traits< 
+            typedef cds::container::MSQueue< cds::gc::HP, Foo,
+                typename cds::container::msqueue::make_traits<
                     cds::opt::stat< cds::container::msqueue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
index f3025c42f6e8412e53e8de003584c6234416331d..6f34bba5957d3f453e2cdeef83061b0f840168d6 100644 (file)
@@ -58,7 +58,7 @@ namespace cds { namespace container {
             - opt::item_counter - the type of item counting feature. Default is \p cds::atomicity::empty_item_counter (item counting disabled)
                 To enable item counting use \p cds::atomicity::item_counter
             - opt::stat - the type to gather internal statistics.
-                Possible statistics types are: \p optimistic_queue::stat, \p optimistic_queue::empty_stat, 
+                Possible statistics types are: \p optimistic_queue::stat, \p optimistic_queue::empty_stat,
                 user-provided class that supports \p %optimistic_queue::stat interface.
                 Default is \p %optimistic_queue::empty_stat.
             - opt::alignment - the alignment for internal queue data. Default is \p opt::cache_line_alignment
@@ -152,8 +152,8 @@ namespace cds { namespace container {
             typedef cds::container::OptimisticQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::OptimisticQueue< cds::gc::HP, Foo, 
-                typename cds::container::optimistic_queue::make_traits< 
+            typedef cds::container::OptimisticQueue< cds::gc::HP, Foo,
+                typename cds::container::optimistic_queue::make_traits<
                     cds::opt::stat< cds::container::optimistic_queue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
index 0ee16f90f957b050d652537596a1e88210950a72..55185f811e1954b58b80f005c473918f39f99050 100644 (file)
@@ -39,7 +39,7 @@ namespace cds { namespace container {
 
             Example: declare mutex-based \p %RWQueue with item counting
             \code
-            typedef cds::container::RWQueue< Foo, 
+            typedef cds::container::RWQueue< Foo,
                 typename cds::container::rwqueue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >,
                     cds::opt::lock_type< std::mutex >
@@ -82,8 +82,8 @@ namespace cds { namespace container {
             typedef cds::container::RWQueue< Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::RWQueue< Foo, 
-                typename cds::container::rwqueue::make_traits< 
+            typedef cds::container::RWQueue< Foo,
+                typename cds::container::rwqueue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
             > myQueue;
index fe6034617c0f83d7e00407dc059e57a820130edf..1b2a1b380b9f9e57dd4a5f971a4889fce85e2fca 100644 (file)
@@ -114,7 +114,7 @@ namespace cds { namespace container {
                 }
             };
 
-            struct intrusive_type_traits: public original_type_traits 
+            struct intrusive_type_traits: public original_type_traits
             {
                 typedef node_disposer   disposer;
             };
index b5e03a9e2e41c0b9ca48bf17ab0f44815d1a7733..8f86af6dabdf7443894484cc1ff30933daa804b2 100644 (file)
@@ -12,7 +12,7 @@ namespace cds { namespace container {
     /** @ingroup cds_nonintrusive_map
         \anchor cds_nonintrusive_SplitListMap_nogc
 
-        This specialization is so-called append-only. 
+        This specialization is so-called append-only.
         The map does not support the removal of list item.
 
         See \ref cds_nonintrusive_SplitListMap_hp "SplitListMap" for description of template parameters.
index 31ec11ff13a3844517e63745c63535e133759cd3..74702f0b9f578b9c7f61edd4470f87c0c4f5fe82 100644 (file)
@@ -33,7 +33,7 @@ namespace cds { namespace container {
         \par Usage
 
         You should decide what garbage collector you want, and what ordered list you want to use as a base. Split-ordered list
-        is original data structure based on an ordered list. 
+        is original data structure based on an ordered list.
 
         Suppose, you want construct split-list set based on \p gc::DHP GC
         and \p LazyList as ordered list implementation. So, you beginning your program with following include:
index 628103349ce56e4141530ddfbd98b4373d12db2e..30d8fe3685e9ee402088dedff59efd56a8b2eb9e 100644 (file)
@@ -21,7 +21,7 @@ namespace cds { namespace container {
 
         @warning Many member functions return an iterator pointing to an item.
         The iterator can be used to set up field of the item,
-        but you should provide an exclusive access to it, 
+        but you should provide an exclusive access to it,
         see \ref cds_intrusive_item_creating "insert item troubleshooting".
     */
     template <
index 67a5be7712acb87d60b9e2ebd967315c620d7f69..938bbc7cf182bd4f786a3845394a47d3ee74ea2d 100644 (file)
@@ -136,7 +136,7 @@ namespace cds { namespace container {
             ,cc::split_list::make_traits<      // metafunction to build split-list traits
                 cc::split_list::ordered_list<cc::lazy_list_tag>     // tag for underlying ordered list implementation
                 ,cc::opt::hash< foo_hash >              // hash functor
-                ,cc::split_list::ordered_list_traits<   // ordered list traits 
+                ,cc::split_list::ordered_list_traits<   // ordered list traits
                     cc::lazy_list::make_traits<         // metafunction to build lazy list traits
                         cc::opt::less< foo_less >       // less-based compare functor
                     >::type
index 20e9a6536dfad6cbb6b973c625ed5104016f4c1f..cb6777a882b66a2fbf64c46423b2719aab968bcf 100644 (file)
@@ -188,7 +188,7 @@ namespace cds { namespace container {
             typedef cds::container::TreiberStack< cds::gc::HP, Foo, myTraits > myStack;
 
             // Equivalent make_traits example:
-            typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo, 
+            typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo,
                 typename cds::intrusive::treiber_stack::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >,
                     cds::opt::stat< cds::intrusive::treiber_stack::stat<> >
@@ -196,10 +196,10 @@ namespace cds { namespace container {
             > myStack;
             \endcode
     */
-    template < 
-        typename GC, 
-        typename T, 
-        typename Traits = treiber_stack::traits 
+    template <
+        typename GC,
+        typename T,
+        typename Traits = treiber_stack::traits
     >
     class TreiberStack
         : public
index 7c46531a96add8f1142d13b619be1960c839e413..78869119be2bffede762b58414277b3354dc3100 100644 (file)
@@ -62,7 +62,7 @@ namespace cds { namespace container {
 
             Example: declare \p %TsigasCycleQueue with item counting and static iternal buffer of size 1024:
             \code
-            typedef cds::container::TsigasCycleQueue< Foo, 
+            typedef cds::container::TsigasCycleQueue< Foo,
                 typename cds::container::tsigas_queue::make_traits<
                     cds::opt::buffer< cds::opt::v::static_buffer< void *, 1024 >,
                     cds::opt::item_counte< cds::atomicity::item_counter >
@@ -133,8 +133,8 @@ namespace cds { namespace container {
             typedef cds::container::TsigasCycleQueue< Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::TsigasCycleQueue< cds::gc::HP, Foo, 
-                typename cds::container::tsigas_queue::make_traits< 
+            typedef cds::container::TsigasCycleQueue< cds::gc::HP, Foo,
+                typename cds::container::tsigas_queue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
             > myQueue;
@@ -149,7 +149,7 @@ namespace cds { namespace container {
         };
 
         // Queue of Foo, capacity is 1024, statically allocated buffer:
-        typedef cds::container::TsigasCycleQueue< Foo, 
+        typedef cds::container::TsigasCycleQueue< Foo,
             typename cds::container::tsigas_queue::make_traits<
                 cds::opt::buffer< cds::opt::v::static_buffer< Foo, 1024 > >
             >::type
index 30095b707c7bf63ebafa82bb0ed9bc11e430885e..b6fc3efa4f36b280d56a6d4c2283ad05cf2762b4 100644 (file)
@@ -27,7 +27,7 @@ namespace cds { namespace container {
             */
             typedef cds::opt::v::dynamic_buffer< void * > buffer;
 
-            /// A functor to clean item dequeued. 
+            /// A functor to clean item dequeued.
             /**
                 The functor  calls the destructor for queue item.
                 After an item is dequeued, \p value_cleaner cleans the cell that the item has been occupied.
@@ -57,7 +57,7 @@ namespace cds { namespace container {
             - \p opt::buffer - the buffer type for internal cyclic array. Possible types are:
                 \p opt::v::dynamic_buffer (the default), \p opt::v::static_buffer. The type of
                 element in the buffer is not important: it will be changed via \p rebind metafunction.
-            - \p opt::value_cleaner - a functor to clean item dequeued. 
+            - \p opt::value_cleaner - a functor to clean item dequeued.
                 The functor calls the destructor for queue item.
                 After an item is dequeued, \p value_cleaner cleans the cell that the item has been occupied.
                 If \p T is a complex type, \p value_cleaner may be the useful feature.
@@ -70,7 +70,7 @@ namespace cds { namespace container {
 
             Example: declare \p %VyukovMPMCCycleQueue with item counting and static iternal buffer of size 1024:
             \code
-            typedef cds::container::VyukovMPMCCycleQueue< Foo, 
+            typedef cds::container::VyukovMPMCCycleQueue< Foo,
                 typename cds::container::vyukov_queue::make_traits<
                     cds::opt::buffer< cds::opt::v::static_buffer< void *, 1024 >,
                     cds::opt::item_counte< cds::atomicity::item_counter >
@@ -117,8 +117,8 @@ namespace cds { namespace container {
             typedef cds::container::VyukovMPMCCycleQueue< Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::container::VyukovMPMCCycleQueue< cds::gc::HP, Foo, 
-                typename cds::container::vykov_queue::make_traits< 
+            typedef cds::container::VyukovMPMCCycleQueue< cds::gc::HP, Foo,
+                typename cds::container::vykov_queue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
             > myQueue;
index 8930634ea6c684e74b7cb1d42ebf856ec8a11f24..9471d67a7df0999237e896a1db0b9beec5519059 100644 (file)
@@ -340,7 +340,7 @@ CDS_CXX11_ATOMIC_BEGIN_NAMESPACE
         atomic& operator=(const atomic&) = delete;
 
 #if !(CDS_COMPILER == CDS_COMPILER_MSVC && CDS_COMPILER_VERSION <= CDS_COMPILER_MSVC12)
-        // MSVC12: warning C4522: multiple assignment operators specified\r
+        // MSVC12: warning C4522: multiple assignment operators specified
         atomic& operator=(const atomic&) volatile = delete;
         marked_ptr operator=(marked_ptr val) volatile CDS_NOEXCEPT
         {
index 4cace943a92d274863436fa7606ec2e18709e059..bdcf27a3209a072782dbd1cf929a101668879129 100644 (file)
@@ -212,7 +212,7 @@ namespace cds { namespace intrusive {
             typedef basket_queue::empty_stat        stat;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -247,7 +247,7 @@ namespace cds { namespace intrusive {
 
             Example: declare \p %BasketQueue with item counting and internal statistics
             \code
-            typedef cds::intrusive::BasketQueue< cds::gc::HP, Foo, 
+            typedef cds::intrusive::BasketQueue< cds::gc::HP, Foo,
                 typename cds::intrusive::basket_queue::make_traits<
                     cds::intrusive::opt:hook< cds::intrusive::basket_queue::base_hook< cds::opt::gc<cds:gc::HP> >>,
                     cds::opt::item_counte< cds::atomicity::item_counter >,
@@ -327,8 +327,8 @@ namespace cds { namespace intrusive {
             typedef cds::intrusive::BasketQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::intrusive::BasketQueue< cds::gc::HP, Foo, 
-                typename cds::intrusive::basket_queue::make_traits< 
+            typedef cds::intrusive::BasketQueue< cds::gc::HP, Foo,
+                typename cds::intrusive::basket_queue::make_traits<
                     cds::opt::stat< cds::intrusive::basket_queue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
@@ -380,7 +380,7 @@ namespace cds { namespace intrusive {
             ci::basket_queue::node< hp_gc > hMember;
         };
 
-        struct barTraits: public 
+        struct barTraits: public
             ci::basket_queue::make_traits<
                 ci::opt::hook<
                     ci::basket_queue::member_hook<
index 5bf0b38942c0b09f3766c27b21acdc42a2bab817..e862cb9bb791748d65ae3189b9bcd6600635f2d4 100644 (file)
@@ -24,19 +24,19 @@ namespace cds {
     \anchor cds_intrusive_hook_tag
     \par Tags
     Many hooks and nodes for intrusive containers contain template argument \p Tag.
-    This argument serves as a tag, so you can derive from more than one container's node and hence put an object in multiple intrusive containers 
-    at the same time. An incomplete type can serve as a tag. If you specify two hooks, you must specify a different tag for each one. 
-    Example: 
+    This argument serves as a tag, so you can derive from more than one container's node and hence put an object in multiple intrusive containers
+    at the same time. An incomplete type can serve as a tag. If you specify two hooks, you must specify a different tag for each one.
+    Example:
     \code
     struct tag1;
-    cds::intrusive::treiber_stack::node< cds::gc::HP, tag<tag1> > 
+    cds::intrusive::treiber_stack::node< cds::gc::HP, tag<tag1> >
     \endcode
     If no tag is specified the default \p cds::opt::none will be used.
 
     \anchor cds_intrusive_item_creating
     \par Inserting items
-    Many intrusive and non-intrusive (standard-like) containers in the library have the member functions 
-    that take an functor argument to initialize the inserted item after it has been successfully inserted, 
+    Many intrusive and non-intrusive (standard-like) containers in the library have the member functions
+    that take an functor argument to initialize the inserted item after it has been successfully inserted,
     for example:
     \code
     template <typename Q, typename Func>
@@ -79,19 +79,19 @@ namespace cds {
         Create a new item                         Find key 5
             with calling Foo(5) ctor
         Insert the new item
-                                                  The key 5 is found - 
+                                                  The key 5 is found -
                                                      call the functor     (!)
         Perform complex
-           initialization - 
+           initialization -
            call the functor
     \endcode
     (!): Thread 2 found the key and call its functor on incomplete initialized item.
     Simultaneous access to the item also is possible. In this case Thread 1 is
-    initializing the item, thread 2 is reading (or writing) the item's fields. 
+    initializing the item, thread 2 is reading (or writing) the item's fields.
     In any case, Thread 2 can read uninitialized or incomplete initialized fields.
 
-    \p ensure member function race. Suppose, thread 1 and thread 2 perform 
-    the 
+    \p ensure member function race. Suppose, thread 1 and thread 2 perform
+    the
     following code:
     \code
         q.ensure( 5, []( bool bNew, Foo& item, int  arg )
@@ -105,7 +105,7 @@ namespace cds {
               }
               else {
                  // do some work
-                 if ( !item.f1 ) 
+                 if ( !item.f1 )
                     item.f1 = ...;
                  else {
                    //...
@@ -121,12 +121,12 @@ namespace cds {
         key 5 not found
         insert new item Foo(5)                    Find 5
                                                   Key 5 found
-                                                  call the functor with 
+                                                  call the functor with
                                                      bNew = false        (!)
         call the functor with
            bNew = true
     \endcode
-    (!): Thread 2 executes its functor on incomplete initialized item. 
+    (!): Thread 2 executes its functor on incomplete initialized item.
 
     To protect your code from such races you can use some item-level synchronization,
     for example:
@@ -151,7 +151,7 @@ namespace cds {
             }
             else {
                 // do some work
-                if ( !item.f1 ) 
+                if ( !item.f1 )
                     item.f1 = ...;
                 else {
                     //...
index adb3a680545bd2b4a412222eedaaf0e3073820e4..e348eac59c1d533b4d02063ca3ef7584abd05cb0 100644 (file)
@@ -223,7 +223,7 @@ namespace cds { namespace intrusive {
             static const opt::link_check_type link_checker = opt::debug_check_link;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
index caaa65022e253d5e73150cbe5183f0c84a43989d..8972be10f284070c7f7567a97b7e03eecab34a59 100644 (file)
@@ -204,7 +204,7 @@ namespace cds { namespace intrusive {
             static const opt::link_check_type link_checker = opt::debug_check_link;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
index a2b7573489123045a57c7c563f6d8ccb8b2b724e..79f3549b4bfcb31941cefe9c0a8cdc77a87ef8bf 100644 (file)
@@ -93,7 +93,7 @@ namespace cds { namespace intrusive {
             template <typename OrderedList, bool IsConst>
             class iterator
             {
-                friend class iterator < OrderedList, !IsConst > ;
+                friend class iterator < OrderedList, !IsConst >;
             protected:
                 typedef OrderedList bucket_type;
                 typedef typename list_iterator_selector< bucket_type, IsConst>::bucket_ptr bucket_ptr;
index 3b3abee95667076ced3b8cebeb3963da0beebf02..744ee9349a0d700c86fb3feb3c700550bf626ca3 100644 (file)
@@ -91,8 +91,8 @@ namespace cds { namespace intrusive {
             void onExtractFailed()       { ++m_nExtractFailed; }
             void onFindSuccess()         { ++m_nFindSuccess; }
             void onFindFailed()          { ++m_nFindFailed; }
-            bool onFind(bool bSuccess) 
-            { 
+            bool onFind(bool bSuccess)
+            {
                 if ( bSuccess )
                     onFindSuccess();
                 else
@@ -161,7 +161,7 @@ namespace cds { namespace intrusive {
 
             /// Internal statistics (by default, disabled)
             /**
-                Possible statistics types are: \p split_list::stat (enable internal statistics), 
+                Possible statistics types are: \p split_list::stat (enable internal statistics),
                 \p split_list::empty_stat (the default, internal statistics disabled),
                 user-provided class that supports \p %split_list::stat interface.
             */
@@ -169,7 +169,7 @@ namespace cds { namespace intrusive {
 
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -215,7 +215,7 @@ namespace cds { namespace intrusive {
             - \p opt::item_counter - optional, specifies item counting policy. See \p traits::item_counter
                 for default type.
             - \p opt::memory_model - C++ memory model for atomic operations.
-                Can be \p opt::v::relaxed_ordering (relaxed memory model, the default) 
+                Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             - \p opt::allocator - optional, bucket table allocator. Default is \ref CDS_DEFAULT_ALLOCATOR.
             - \p split_list::dynamic_bucket_table - use dynamic or static bucket table implementation.
index ca19239054930a4330b5bed2b690b83cb4fc0e32..c2c706ea91214113785cc9cf679ab6abf0e8fc4c 100644 (file)
@@ -29,7 +29,7 @@ namespace cds { namespace intrusive {
         - \p GC - Garbage collector used. Note the \p GC must be the same as the GC used for item type \p T (see lazy_list::node).
         - \p T - type to be stored in the list. The type must be based on lazy_list::node (for lazy_list::base_hook)
             or it must have a member of type lazy_list::node (for lazy_list::member_hook).
-        - \p Traits - type traits. See lazy_list::traits for explanation. 
+        - \p Traits - type traits. See lazy_list::traits for explanation.
             It is possible to declare option-based list with cds::intrusive::lazy_list::make_traits metafunction istead of \p Traits template
             argument. For example, the following traits-based declaration of \p gc::HP lazy list
             \code
index 09e5072e982f3bce4e3c7f7c18d8d5e8e5da3f9e..12106f287ed1cba3c4e7aaf503c2a51525a0defd 100644 (file)
@@ -23,7 +23,7 @@ namespace cds { namespace intrusive {
         - \p GC - Garbage collector used. Note the \p GC must be the same as the GC used for item type \p T (see \p michael_list::node).
         - \p T - type to be stored in the list. The type must be based on \p michael_list::node (for \p michael_list::base_hook)
             or it must have a member of type \p michael_list::node (for \p michael_list::member_hook).
-        - \p Traits - type traits, default is \p michael_list::traits. It is possible to declare option-based 
+        - \p Traits - type traits, default is \p michael_list::traits. It is possible to declare option-based
              list with \p cds::intrusive::michael_list::make_traits metafunction:
             For example, the following traits-based declaration of \p gc::HP Michael's list
             \code
index c024d9d9eeb7519abf1add7e25417eea7b1dba7d..90486114043bb1934834dc395beeeb24f577b2f1 100644 (file)
@@ -20,7 +20,7 @@ namespace cds { namespace intrusive {
             typename Lock = cds::lock::Spin,
             typename Tag = opt::none
 #else
-            typename Lock, 
+            typename Lock,
             typename Tag
 #endif
         >
index ca2ca629e9b99a6f1ba2b092db24224617fad191..64f5c3dde36adc1035e2eaafcd8cff0d55d6e562 100644 (file)
@@ -41,7 +41,7 @@ namespace cds { namespace intrusive {
 
         See \ref cds_intrusive_MichaelList_hp "MichaelList" for description of template parameters.
     */
-    template < typename T, 
+    template < typename T,
 #ifdef CDS_DOXYGEN_INVOKED
         class Traits = michael_list::traits
 #else
index 44d100a66c4114c803d0739afafb9f7b49cf713b..0f29034ad7f49502187697ed99007650c81294c2 100644 (file)
@@ -22,8 +22,8 @@ namespace cds { namespace intrusive {
         - \p RCU - one of \ref cds_urcu_gc "RCU type"
         - \p T - type to be stored in the list; the type \p T should be based on (or has a member of type)
             cds::intrusive::micheal_list::node
-        - \p Traits - type traits. See \p michael_list::traits for explanation. It is possible to declare option-based 
-             list with \p cds::intrusive::michael_list::make_traits metafunction, 
+        - \p Traits - type traits. See \p michael_list::traits for explanation. It is possible to declare option-based
+             list with \p cds::intrusive::michael_list::make_traits metafunction,
              see \ref cds_intrusive_MichaelList_hp "here" for explanations.
 
         \par Usage
@@ -38,7 +38,7 @@ namespace cds { namespace intrusive {
             typedef cds::intrusive::MichaelList<cds::urcu::gc< cds::urcu::general_buffered<> >, Foo > rcu_michael_list;
             \endcode
     */
-    template < typename RCU, typename T, 
+    template < typename RCU, typename T,
 #ifdef CDS_DOXYGEN_INVOKED
     class Traits = michael_list::traits
 #else
index 8b1bee123114e2349dbfa110b289c16c03912b02..6dcff726fa464e54462b1a4309d1e2f26455be18 100644 (file)
@@ -358,7 +358,7 @@ namespace cds { namespace intrusive {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
index 9c9ae882e6ed5ca2551117a33a95629b38a74b9f..c3138b9bc34de63070cb178fe372b53efa0b52c3 100644 (file)
@@ -145,7 +145,7 @@ namespace cds { namespace intrusive {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value,
                            "atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
index 13fdc34796eb7230110d3b757d94719fb089130c..1e1859bf4b3ae1af2e3ed822e2d5af6011adf8ed 100644 (file)
@@ -203,7 +203,7 @@ namespace cds { namespace intrusive {
             static_assert( std::is_same<gc, typename bucket_type::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, atomicity::empty_item_counter>::value,
                 "atomicity::empty_item_counter is not allowed as a item counter");
 
             m_Buckets = bucket_table_allocator().NewArray( bucket_count() );
index 088f763d7414e191394c16e789ffaeadbce0ead9..ceb85deef16dab71142e47a1a8c7c99f780e6b89 100644 (file)
@@ -21,7 +21,7 @@ namespace cds { namespace intrusive {
             - Tag - a \ref cds_intrusive_hook_tag "tag"
         */
         template <class GC, typename Tag = opt::none >
-        using node = cds::intrusive::single_link::node< GC, Tag > ;
+        using node = cds::intrusive::single_link::node< GC, Tag >;
 
         /// Base hook
         /**
@@ -156,7 +156,7 @@ namespace cds { namespace intrusive {
             typedef msqueue::empty_stat         stat;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -190,7 +190,7 @@ namespace cds { namespace intrusive {
 
             Example: declare \p %MSQueue with item counting and internal statistics
             \code
-            typedef cds::intrusive::MSQueue< cds::gc::HP, Foo, 
+            typedef cds::intrusive::MSQueue< cds::gc::HP, Foo,
                 typename cds::intrusive::msqueue::make_traits<
                     cds::intrusive::opt:hook< cds::intrusive::msqueue::base_hook< cds::opt::gc<cds:gc::HP> >>,
                     cds::opt::item_counte< cds::atomicity::item_counter >,
@@ -232,8 +232,8 @@ namespace cds { namespace intrusive {
             typedef cds::intrusive::MSQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::intrusive::MSQueue< cds::gc::HP, Foo, 
-                typename cds::intrusive::msqueue::make_traits< 
+            typedef cds::intrusive::MSQueue< cds::gc::HP, Foo,
+                typename cds::intrusive::msqueue::make_traits<
                     cds::opt::stat< cds::intrusive::msqueue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
index 12ab10bac25229c6864fecc3e6d4fd252955872d..ca0216acc68baa53757aedff6de9b055a316f3c6 100644 (file)
@@ -243,7 +243,7 @@ namespace cds { namespace intrusive {
             typedef cds::atomicity::empty_item_counter   item_counter;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -276,7 +276,7 @@ namespace cds { namespace intrusive {
             - opt::item_counter - the type of item counting feature. Default is \p cds::atomicity::empty_item_counter (item counting disabled)
                 To enable item counting use \p cds::atomicity::item_counter
             - opt::stat - the type to gather internal statistics.
-                Possible statistics types are: \p optimistic_queue::stat, \p optimistic_queue::empty_stat, 
+                Possible statistics types are: \p optimistic_queue::stat, \p optimistic_queue::empty_stat,
                 user-provided class that supports \p %optimistic_queue::stat interface.
                 Default is \p %optimistic_queue::empty_stat (internal statistics disabled).
             - opt::alignment - the alignment for internal queue data. Default is \p opt::cache_line_alignment
@@ -285,7 +285,7 @@ namespace cds { namespace intrusive {
 
             Example: declare \p %OptimisticQueue with item counting and internal statistics
             \code
-            typedef cds::intrusive::OptimisticQueue< cds::gc::HP, Foo, 
+            typedef cds::intrusive::OptimisticQueue< cds::gc::HP, Foo,
                 typename cds::intrusive::optimistic_queue::make_traits<
                     cds::intrusive::opt:hook< cds::intrusive::optimistic_queue::base_hook< cds::opt::gc<cds:gc::HP> >>,
                     cds::opt::item_counte< cds::atomicity::item_counter >,
@@ -327,8 +327,8 @@ namespace cds { namespace intrusive {
             typedef cds::intrusive::OptimisticQueue< cds::gc::HP, Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::intrusive::OptimisticQueue< cds::gc::HP, Foo, 
-                typename cds::intrusive::optimistic_queue::make_traits< 
+            typedef cds::intrusive::OptimisticQueue< cds::gc::HP, Foo,
+                typename cds::intrusive::optimistic_queue::make_traits<
                     cds::opt::stat< cds::intrusive::optimistic_queue::stat<> >,
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
@@ -651,7 +651,7 @@ namespace cds { namespace intrusive {
 
         /// Returns queue's item count
         /**
-            The value returned depends on \p optimistic_queue::traits::item_counter. 
+            The value returned depends on \p optimistic_queue::traits::item_counter.
             For \p atomicity::empty_item_counter, this function always returns 0.
 
             @note Even if you use real item counter and it returns 0, this fact is not mean that the queue
index 85a7796b0d691c03bd459171d6fe004ad594bb58..2e41c4e0a464b17ec64812efa1ebcba07311663c 100644 (file)
@@ -24,7 +24,7 @@ namespace cds { namespace intrusive {
 
         /// SegmentedQueue internal statistics. May be used for debugging or profiling
         template <typename Counter = cds::atomicity::event_counter >
-        struct stat 
+        struct stat
         {
             typedef Counter  counter_type;  ///< Counter type
 
index 62166ec5d55904b4850842820e2909e81764cc23..8225b147bda0f08a2b451c25b8f2ed48976fc0ff 100644 (file)
@@ -442,7 +442,7 @@ namespace cds { namespace intrusive {
             static_assert( std::is_same<gc, typename ordered_list::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             // Initialize bucket 0
@@ -471,7 +471,7 @@ namespace cds { namespace intrusive {
             dummy_node_type * pHead = get_bucket( nHash );
             assert( pHead != nullptr );
 
-            return m_Stat.onFind( 
+            return m_Stat.onFind(
                 m_List.find_at( pHead, sv, cmp,
                     [&f](value_type& item, split_list::details::search_value_type<Q>& val){ f(item, val.val ); })
             );
index 18e1cc07c17c25ad4895fbc6e8e5f229c943e0f9..ec31ce195c6d893c2063b78eb12de215426c73c6 100644 (file)
@@ -237,7 +237,7 @@ namespace cds { namespace intrusive {
             static_assert( std::is_same<gc, typename ordered_list::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             // Initialize bucket 0
index fa3bc86b99e69e42655ea738e0e74a558aee71df..603500f55043bd6601b28d114a0039245714268a 100644 (file)
@@ -334,7 +334,7 @@ namespace cds { namespace intrusive {
             static_assert( std::is_same<gc, typename ordered_list::gc>::value, "GC and OrderedList::gc must be the same");
 
             // atomicity::empty_item_counter is not allowed as a item counter
-            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value, 
+            static_assert( !std::is_same<item_counter, cds::atomicity::empty_item_counter>::value,
                            "cds::atomicity::empty_item_counter is not allowed as a item counter");
 
             // Initialize bucket 0
index 8c2897ce724aec629b5edd4c8fc63435f6836b42..89bc36d0bd4ca0143f26bceabd852ebe27c54e93 100644 (file)
@@ -25,7 +25,7 @@ namespace cds { namespace intrusive {
             - Tag - a \ref cds_intrusive_hook_tag "tag"
         */
         template <class GC, typename Tag = opt::none >
-        using node = cds::intrusive::single_link::node< GC, Tag > ;
+        using node = cds::intrusive::single_link::node< GC, Tag >;
 
         /// Base hook
         /**
@@ -123,7 +123,7 @@ namespace cds { namespace intrusive {
                 else
                     ++m_PassivePopCollision;
             }
-            void onEliminationFailed() 
+            void onEliminationFailed()
             {
                 ++m_EliminationFailed;
             }
@@ -160,7 +160,7 @@ namespace cds { namespace intrusive {
             typedef cds::atomicity::empty_item_counter   item_counter;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -237,7 +237,7 @@ namespace cds { namespace intrusive {
 
             Example: declare \p %TreiberStack with elimination enabled and internal statistics
             \code
-            typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo, 
+            typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo,
                 typename cds::intrusive::treiber_stack::make_traits<
                     cds::opt::enable_elimination< true >,
                     cds::opt::stat< cds::intrusive::treiber_stack::stat<> >
@@ -438,7 +438,7 @@ namespace cds { namespace intrusive {
         Template arguments:
         - \p GC - garbage collector type: \p gc::HP, \p gc::DHP.
             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 
+        - \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 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.
@@ -451,9 +451,9 @@ namespace cds { namespace intrusive {
             typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo, myTraits > myStack;
 
             // Equivalent make_traits example:
-            typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo, 
-                typename cds::intrusive::treiber_stack::make_traits< 
-                    cds::opt::stat< cds::intrusive::treiber_stack::stat<> > 
+            typedef cds::intrusive::TreiberStack< cds::gc::HP, Foo,
+                typename cds::intrusive::treiber_stack::make_traits<
+                    cds::opt::stat< cds::intrusive::treiber_stack::stat<> >
                 >::type
             > myStack;
             \endcode
@@ -488,7 +488,7 @@ namespace cds { namespace intrusive {
         // Stack with elimination back-off enabled
         typedef ci::TreiberStack< gc,
             myData,
-            typename ci::treiber_stack::make_traits< 
+            typename ci::treiber_stack::make_traits<
                 ci::opt::hook< ci::treiber_stack::base_hook< gc > >,
                 cds::opt::enable_elimination< true >
             >::type
@@ -514,15 +514,15 @@ namespace cds { namespace intrusive {
             // ...
         };
 
-        typedef ci::TreiberStack< gc, 
-            myData, 
-            typename ci::treiber_stack::make_traits< 
+        typedef ci::TreiberStack< gc,
+            myData,
+            typename ci::treiber_stack::make_traits<
                 ci::opt::hook< ci::treiber_stack::base_hook< gc, tag1 > >
-            >::type 
+            >::type
         > stack1_t;
 
-        typedef ci::TreiberStack< gc, 
-            myData, 
+        typedef ci::TreiberStack< gc,
+            myData,
             typename ci::treiber_stack::make_traits<
                 ci::opt::hook< ci::treiber_stack::base_hook< gc, tag2 > >
             >::type
@@ -565,7 +565,7 @@ namespace cds { namespace intrusive {
             // ...
         };
 
-        typedef ci::TreiberStack< gc, 
+        typedef ci::TreiberStack< gc,
             myData,
             typename ci::treiber_stack::make_traits<
                 ci::opt::hook< ci::treiber_stack::member_hook< offsetof(myData, member_hook_), gc >>
@@ -574,9 +574,9 @@ namespace cds { namespace intrusive {
         \endcode
     */
     template <
-        typename GC, 
-        typename T, 
-        typename Traits = treiber_stack::traits 
+        typename GC,
+        typename T,
+        typename Traits = treiber_stack::traits
     >
     class TreiberStack
     {
index 2542fbee9a426031a7993e4751c7c89ccd1062f4..20981f756b85c826412798eb286c2d35a7a302b4 100644 (file)
@@ -37,7 +37,7 @@ namespace cds { namespace intrusive {
             typedef atomicity::empty_item_counter item_counter;
 
             /// C++ memory ordering model
-            /** 
+            /**
                 Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
             */
@@ -64,7 +64,7 @@ namespace cds { namespace intrusive {
 
             Example: declare \p %TsigasCycleQueue with item counting and static iternal buffer of size 1024:
             \code
-            typedef cds::intrusive::TsigasCycleQueue< Foo, 
+            typedef cds::intrusive::TsigasCycleQueue< Foo,
                 typename cds::intrusive::tsigas_queue::make_traits<
                     cds::opt::buffer< cds::opt::v::static_buffer< void *, 1024 >,
                     cds::opt::item_counte< cds::atomicity::item_counter >
@@ -108,8 +108,8 @@ namespace cds { namespace intrusive {
             typedef cds::intrusive::TsigasCycleQueue< Foo, myTraits > myQueue;
 
             // Equivalent make_traits example:
-            typedef cds::intrusive::TsigasCycleQueue< Foo, 
-                typename cds::intrusive::tsigas_queue::make_traits< 
+            typedef cds::intrusive::TsigasCycleQueue< Foo,
+                typename cds::intrusive::tsigas_queue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
             > myQueue;
@@ -406,7 +406,7 @@ namespace cds { namespace intrusive {
 
         /// Returns queue's item count
         /**
-            The value returned depends on \p tsigas_queue::traits::item_counter. 
+            The value returned depends on \p tsigas_queue::traits::item_counter.
             For \p atomicity::empty_item_counter, the function always returns 0.
         */
         size_t size() const CDS_NOEXCEPT
index 267aa166dfa312f4b1caf95b8ecddec54e25f1bf..3b4ccdd012d627d8f4cb1045b7fcf222ccef8f4c 100644 (file)
@@ -26,7 +26,7 @@ namespace cds { namespace intrusive {
             - \p opt::buffer - the buffer type for internal cyclic array. Possible types are:
                 \p opt::v::dynamic_buffer (the default), \p opt::v::static_buffer. The type of
                 element in the buffer is not important: it will be changed via \p rebind metafunction.
-            - \p opt::disposer - the functor used for dispose removed items. Default is \p opt::v::empty_disposer. 
+            - \p opt::disposer - the functor used for dispose removed items. Default is \p opt::v::empty_disposer.
                 This option is used only in \p clear() member function.
             - \p opt::item_counter - the type of item counting feature. Default is \p cds::atomicity::empty_item_counter (item counting disabled)
                 To enable item counting use \p cds::atomicity::item_counter
@@ -36,7 +36,7 @@ namespace cds { namespace intrusive {
 
             Example: declare \p %VyukovMPMCCycleQueue with item counting and static iternal buffer of size 1024:
             \code
-            typedef cds::intrusive::VyukovMPMCCycleQueue< Foo, 
+            typedef cds::intrusive::VyukovMPMCCycleQueue< Foo,
                 typename cds::intrusive::vyukov_queue::make_traits<
                     cds::opt::buffer< cds::opt::v::static_buffer< void *, 1024 >,
                     cds::opt::item_counte< cds::atomicity::item_counter >
@@ -75,8 +75,8 @@ namespace cds { namespace intrusive {
             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< 
+            typedef cds::intrusive::VyukovMPMCCycleQueue< cds::gc::HP, Foo,
+                typename cds::intrusive::vykov_queue::make_traits<
                     cds::opt::item_counter< cds::atomicity::item_counter >
                 >::type
             > myQueue;
index ec8dd0ff18279b97157e0219437532d53246371b..9faf90705bdc1b569f326daaa4905e56c57c9bd4 100644 (file)
@@ -112,7 +112,7 @@ namespace deque {
 
         void fcDeque_mutex()
         {
-            struct deque_traits : public 
+            struct deque_traits : public
                 cds::container::fcdeque::make_traits<
                     cds::opt::enable_elimination< true >
                 >::type
index 9d32b291351f7528371eb44f01566f9f22fb7345..6606ebee35a9272c5e3b355b0763b2e961b1cb12 100644 (file)
@@ -18,7 +18,7 @@ namespace ordlist {
     void IntrusiveLazyListHeaderTest::nogc_base_less()
     {
         typedef base_int_item< cds::gc::nogc > item;
-        struct traits: public 
+        struct traits: public
             ci::lazy_list::make_traits<
                 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::nogc> > >
                 ,co::less< less<item> >
index c64ccc01c0f40c251fe6c0ccbcc946d59b74d9a1..c0accb30b6a9c95bc8f757fb61a3684dade79c15 100644 (file)
@@ -36,7 +36,7 @@ namespace queue {
 
     void HdrTestQueue::BasketQueue_DHP_Counted_relax()
     {
-        typedef cds::container::BasketQueue< cds::gc::DHP, int, 
+        typedef cds::container::BasketQueue< cds::gc::DHP, int,
             typename cds::container::basket_queue::make_traits <
                 cds::opt::item_counter< cds::atomicity::item_counter >
                 ,cds::opt::memory_model< cds::opt::v::relaxed_ordering>
index 3d5f7ded1bea3f2123b0b268a532c0b68a072149..fcc0e2c79361d418dd3c8387ec148e5e9d3baef2 100644 (file)
@@ -36,7 +36,7 @@ namespace queue {
 
     void HdrTestQueue::BasketQueue_HP_Counted_relax()
     {
-        typedef cds::container::BasketQueue< cds::gc::HP, int, 
+        typedef cds::container::BasketQueue< cds::gc::HP, int,
             typename cds::container::basket_queue::make_traits <
                 cds::opt::item_counter< cds::atomicity::item_counter >
                 ,cds::opt::memory_model< cds::opt::v::relaxed_ordering>
index 00576abd0beb94e5356a63761150b7b04cab66fc..3759b621a360011e396b31b4007617740750d5c3 100644 (file)
@@ -72,7 +72,7 @@ namespace queue {
 
     void HdrFCQueue::FCQueue_list_stat()
     {
-        struct queue_traits : public cds::container::fcqueue::traits 
+        struct queue_traits : public cds::container::fcqueue::traits
         {
             typedef cds::container::fcqueue::stat<> stat;
         };
index cf10659e817eb1a9972d354d5e09a9882250aa2e..a7c45e501828fa6762c15753ee74181834ba973c 100644 (file)
@@ -28,7 +28,7 @@ namespace queue {
         typedef ci::BasketQueue< cds::gc::DHP, member_hook_item, traits_BasketQueue_member >BasketQueue_DHP_member;
 
         /// DHP base hook + item counter
-        typedef ci::BasketQueue< cds::gc::DHP, base_hook_item, 
+        typedef ci::BasketQueue< cds::gc::DHP, base_hook_item,
             typename ci::basket_queue::make_traits<
                 ci::opt::disposer< IntrusiveQueueHeaderTest::faked_disposer >
                 ,ci::opt::hook<
index 34bf0b86132f36935b102f71c040aab3bf01326a..1321024006c2312dfb160c68fef073d189fcf642 100644 (file)
@@ -52,7 +52,7 @@ namespace queue {
         typedef ci::OptimisticQueue< cds::gc::DHP, member_hook_item, traits_OptimisticQueue_DHP_member > OptimisticQueue_DHP_member;
 
         /// DHP base hook + item counter
-        typedef ci::OptimisticQueue< cds::gc::DHP, base_hook_item, 
+        typedef ci::OptimisticQueue< cds::gc::DHP, base_hook_item,
             typename ci::optimistic_queue::make_traits<
                 ci::opt::disposer< IntrusiveQueueHeaderTest::faked_disposer >
                 ,ci::opt::hook<
@@ -63,7 +63,7 @@ namespace queue {
         > OptimisticQueue_DHP_base_ic;
 
         // DHP member hook + item counter
-        typedef ci::OptimisticQueue< cds::gc::DHP, member_hook_item, 
+        typedef ci::OptimisticQueue< cds::gc::DHP, member_hook_item,
             typename ci::optimistic_queue::make_traits<
                 cds::opt::type_traits< traits_OptimisticQueue_DHP_member >
                 ,co::item_counter< cds::atomicity::item_counter >
index cd5bbc05ee4548db9bab6870cafb5352c8a2789f..d11714fe65974b94dc508bd0cd47a2b9800934c0 100644 (file)
@@ -75,7 +75,7 @@ namespace queue {
         typedef ci::OptimisticQueue< cds::gc::HP, member_hook_item, traits_OptimisticQueue_HP_member > OptimisticQueue_HP_member;
 
         /// HP base hook + item counter
-        typedef ci::OptimisticQueue< cds::gc::HP, base_hook_item, 
+        typedef ci::OptimisticQueue< cds::gc::HP, base_hook_item,
             typename ci::optimistic_queue::make_traits<
                 ci::opt::disposer< IntrusiveQueueHeaderTest::faked_disposer >
                 ,ci::opt::hook<
@@ -86,7 +86,7 @@ namespace queue {
         > OptimisticQueue_HP_base_ic;
 
         // HP member hook + item counter
-        typedef ci::OptimisticQueue< cds::gc::HP, member_hook_item, 
+        typedef ci::OptimisticQueue< cds::gc::HP, member_hook_item,
             typename ci::optimistic_queue::make_traits<
                 cds::opt::type_traits< traits_OptimisticQueue_HP_member >
                 ,co::item_counter< cds::atomicity::item_counter >
index a43baeacc580be27aa71cf662c766770c0a74528..a122feeaccc6efca46e26fa79cf7952a122b420a 100644 (file)
@@ -303,7 +303,7 @@ namespace set {
                 ,co::item_counter< simple_item_counter >
                 ,ci::split_list::dynamic_bucket_table<false>
             >::type
-        { 
+        {
             typedef ci::split_list::stat<> stat;
         };
         typedef ci::SplitListSet< cds::gc::HP, ord_list, set_traits > set;
index fb5323e7215f5ff7d391cb78403821e94f329d16..b1cc0582911351410341e2573ef4dfcaee2c0bf7 100644 (file)
@@ -12,8 +12,8 @@ namespace stack {
     namespace defs { namespace {
 
         typedef cs::TreiberStack< cds::gc::DHP, int
-            ,typename cs::treiber_stack::make_traits< 
-                cds::opt::enable_elimination<true> 
+            ,typename cs::treiber_stack::make_traits<
+                cds::opt::enable_elimination<true>
             >::type
         > Elimination_DHP;
 
index 6b8da9a580fc8e1f4e2a5ce265c14e59da649fe9..ae37fb979270ddf41186fbf12a72513b0bba6a40 100644 (file)
@@ -13,13 +13,13 @@ namespace stack {
         typedef cs::TreiberStack< cds::gc::DHP, int > Treiber_DHP;
         typedef cs::TreiberStack< cds::gc::DHP, int
             , typename cs::treiber_stack::make_traits<
-                cds::opt::memory_model<cds::opt::v::relaxed_ordering> 
+                cds::opt::memory_model<cds::opt::v::relaxed_ordering>
             >::type
         > Treiber_DHP_relaxed;
 
         typedef cs::TreiberStack< cds::gc::DHP, int
             , typename cs::treiber_stack::make_traits<
-                cds::opt::back_off< cds::backoff::yield> 
+                cds::opt::back_off< cds::backoff::yield>
             >::type
         > Treiber_DHP_yield;
 
index aafc28e00c007345febeec37221859e9da9d06b9..1dc08d4af5a8d83edb37f0959aca945c95782818 100644 (file)
@@ -14,13 +14,13 @@ namespace stack {
         typedef cs::TreiberStack< cds::gc::HP, int > Treiber_HP;
         typedef cs::TreiberStack< cds::gc::HP, int
             , typename cs::treiber_stack::make_traits<
-                cds::opt::memory_model<cds::opt::v::relaxed_ordering> 
+                cds::opt::memory_model<cds::opt::v::relaxed_ordering>
             >::type
         > Treiber_HP_relaxed;
 
         typedef cs::TreiberStack< cds::gc::HP, int
             , typename cs::treiber_stack::make_traits<
-                cds::opt::back_off< cds::backoff::yield> 
+                cds::opt::back_off< cds::backoff::yield>
             >::type
         > Treiber_HP_yield;
 
index 382a63e09fcee4cd3e593f7f1d2b4b0f25b8d0d1..4eb1512d284e36a9a9718a9b44b8fb5f656ad7c5 100644 (file)
@@ -102,9 +102,9 @@ namespace std {
 } // namespace std
 
 namespace boost {
-    inline size_t hash_value( map2::key_thread const& k )\r
-    {\r
-        return std::hash<size_t>()( k.nKey );\r
+    inline size_t hash_value( map2::key_thread const& k )
+    {
+        return std::hash<size_t>()( k.nKey );
     }
     template <>
     struct hash<map2::key_thread>
index 6733439677f8c65727b591fc3049a7850d0ec4a4..a87226c45481ab75c91e65908aaadc90b2ac2966 100644 (file)
@@ -181,7 +181,7 @@ namespace queue {
         typedef cds::intrusive::OptimisticQueue< cds::gc::DHP, T, traits_OptimisticQueue_DHP_seqcst > OptimisticQueue_DHP_seqcst;
 
         // OptimisticQueue + item counter
-        struct traits_OptimisticQueue_HP_ic: public 
+        struct traits_OptimisticQueue_HP_ic: public
             cds::intrusive::optimistic_queue::make_traits <
                 cds::intrusive::opt::hook< cds::intrusive::optimistic_queue::base_hook< cds::opt::gc< cds::gc::HP > > >
                 , cds::opt::item_counter< cds::atomicity::item_counter >
@@ -198,7 +198,7 @@ namespace queue {
         typedef cds::intrusive::OptimisticQueue< cds::gc::DHP, T, traits_OptimisticQueue_DHP_ic > OptimisticQueue_DHP_ic;
 
         // OptimisticQueue + stat
-        struct traits_OptimisticQueue_HP_stat: public 
+        struct traits_OptimisticQueue_HP_stat: public
             cds::intrusive::optimistic_queue::make_traits <
                 cds::intrusive::opt::hook< cds::intrusive::optimistic_queue::base_hook< cds::opt::gc< cds::gc::HP > > >
                 , cds::opt::stat< cds::intrusive::optimistic_queue::stat<> >
@@ -206,7 +206,7 @@ namespace queue {
         {};
         typedef cds::intrusive::OptimisticQueue< cds::gc::HP, T, traits_OptimisticQueue_HP_stat > OptimisticQueue_HP_stat;
 
-        struct traits_OptimisticQueue_DHP_stat: public 
+        struct traits_OptimisticQueue_DHP_stat: public
             cds::intrusive::optimistic_queue::make_traits <
                 cds::intrusive::opt::hook< cds::intrusive::optimistic_queue::base_hook< cds::opt::gc< cds::gc::DHP > > >
                 , cds::opt::stat< cds::intrusive::optimistic_queue::stat<> >
@@ -216,7 +216,7 @@ namespace queue {
 
         // TsigasCycleQueue
         class TsigasCycleQueue_dyn
-            : public cds::intrusive::TsigasCycleQueue< T, 
+            : public cds::intrusive::TsigasCycleQueue< T,
                 typename cds::intrusive::tsigas_queue::make_traits<
                     cds::opt::buffer< cds::opt::v::dynamic_buffer< int > >
                 >::type
@@ -323,7 +323,7 @@ namespace queue {
         {};
         typedef cds::intrusive::BasketQueue< cds::gc::HP, T, traits_BasketQueue_HP > BasketQueue_HP;
 
-        struct traits_BasketQueue_HP_seqcst: public 
+        struct traits_BasketQueue_HP_seqcst: public
             cds::intrusive::basket_queue::make_traits <
                 cds::intrusive::opt::hook< cds::intrusive::basket_queue::base_hook< cds::opt::gc< cds::gc::HP > > >
                 , cds::opt::memory_model< cds::opt::v::sequential_consistent >
@@ -338,7 +338,7 @@ namespace queue {
         {};
         typedef cds::intrusive::BasketQueue< cds::gc::DHP, T, traits_BasketQueue_DHP > BasketQueue_DHP;
 
-        struct traits_BasketQueue_DHP_seqcst: public 
+        struct traits_BasketQueue_DHP_seqcst: public
             cds::intrusive::basket_queue::make_traits <
                 cds::intrusive::opt::hook< cds::intrusive::basket_queue::base_hook< cds::opt::gc< cds::gc::DHP > > >
                 , cds::opt::memory_model< cds::opt::v::sequential_consistent >
index 7e6050ca1abb1fa4993651d28ecbfe7ae7c346d2..947c5482c65f6e91c4d384067e82019918de34f9 100644 (file)
@@ -136,7 +136,7 @@ namespace queue {
         typedef cds::container::MoirQueue< cds::gc::DHP, Value, traits_MSQueue_ic > MoirQueue_DHP_ic;
 
         // MSQueue + stat
-        struct traits_MSQueue_stat: public 
+        struct traits_MSQueue_stat: public
             cds::container::msqueue::make_traits <
                 cds::opt::stat< cds::container::msqueue::stat<> >
             >::type
@@ -377,7 +377,7 @@ namespace queue {
         };
         typedef cds::container::RWQueue< Value, traits_RWQueue_Spin_ic > RWQueue_Spin_ic;
 
-        struct traits_RWQueue_mutex : public 
+        struct traits_RWQueue_mutex : public
             cds::container::rwqueue::make_traits<
                 cds::opt::lock_type< std::mutex >
             >::type
index 568f26e363a012de7d3cb0f4b8484d094a17d7a6..1b6daf803acad1d347e5fb6e2a624c083b88b7cd 100644 (file)
@@ -412,7 +412,7 @@ namespace set2 {
         typedef cc::MichaelHashSet< rcu_sht, MichaelList_RCU_SHT_less_stdAlloc_seqcst, traits_MichaelSet_stdAlloc > MichaelSet_RCU_SHT_less_stdAlloc_seqcst;
 #endif
 
-        struct traits_MichaelSet_michaelAlloc : 
+        struct traits_MichaelSet_michaelAlloc :
             public cc::michael_set::make_traits<
                 co::hash< hash >,
                 co::allocator< memory::MichaelAllocator<int> >
index 074a153d2e21ce9b58888606a9dcd5aa15eae514..45d2167c3212fa2ee13c1fbc7d4cc96fa5d47db2 100644 (file)
@@ -120,9 +120,9 @@ namespace stack {
         typedef cds::container::TreiberStack< cds::gc::HP,  T > Treiber_HP;
         typedef cds::container::TreiberStack< cds::gc::DHP, T > Treiber_DHP;
 
-        struct traits_Treiber_seqcst: public 
-            cds::container::treiber_stack::make_traits< 
-                cds::opt::memory_model<cds::opt::v::sequential_consistent> 
+        struct traits_Treiber_seqcst: public
+            cds::container::treiber_stack::make_traits<
+                cds::opt::memory_model<cds::opt::v::sequential_consistent>
             >::type
         {};
         typedef cds::container::TreiberStack< cds::gc::HP,  T, traits_Treiber_seqcst > Treiber_HP_seqcst;
@@ -270,7 +270,7 @@ namespace stack {
         typedef cds::container::TreiberStack< cds::gc::HP,  T, traits_Elimination_dyn_stat > Elimination_HP_dyn_stat;
         typedef cds::container::TreiberStack< cds::gc::DHP, T, traits_Elimination_dyn_stat > Elimination_DHP_dyn_stat;
 
-        struct traits_Elimination_yield: public 
+        struct traits_Elimination_yield: public
             cds::container::treiber_stack::make_traits <
                 cds::opt::enable_elimination<true>
                 , cds::opt::back_off<cds::backoff::yield>
@@ -280,7 +280,7 @@ namespace stack {
         typedef cds::container::TreiberStack< cds::gc::HP,  T, traits_Elimination_yield > Elimination_HP_yield;
         typedef cds::container::TreiberStack< cds::gc::DHP, T, traits_Elimination_yield > Elimination_DHP_yield;
 
-        struct traits_Elimination_pause: public 
+        struct traits_Elimination_pause: public
             cds::container::treiber_stack::make_traits <
                 cds::opt::enable_elimination<true>
                 , cds::opt::back_off<cds::backoff::pause>
@@ -289,7 +289,7 @@ namespace stack {
         typedef cds::container::TreiberStack< cds::gc::HP,  T, traits_Elimination_pause > Elimination_HP_pause;
         typedef cds::container::TreiberStack< cds::gc::DHP, T, traits_Elimination_pause > Elimination_DHP_pause;
 
-        struct traits_Elimination_exp: public 
+        struct traits_Elimination_exp: public
             cds::container::treiber_stack::make_traits <
                 cds::opt::enable_elimination<true>
                 ,cds::opt::back_off<