From: khizmax Date: Sat, 12 Mar 2016 08:51:32 +0000 (+0300) Subject: Fixed doc X-Git-Tag: v2.2.0~365 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5fb9d3c56777bf9040b908cc2f9922c5d26d36f2;p=libcds.git Fixed doc --- diff --git a/cds/intrusive/michael_set_nogc.h b/cds/intrusive/michael_set_nogc.h index 799cc414..9de82aae 100644 --- a/cds/intrusive/michael_set_nogc.h +++ b/cds/intrusive/michael_set_nogc.h @@ -102,6 +102,8 @@ namespace cds { namespace intrusive { //@endcond public: + ///@name Forward iterators + //@{ /// Forward iterator /** The forward iterator for Michael's set is based on \p OrderedList forward iterator and has some features: @@ -137,28 +139,27 @@ namespace cds { namespace intrusive { } /// Returns a forward const iterator addressing the first element in a set - //@{ const_iterator begin() const { return cbegin(); } + /// Returns a forward const iterator addressing the first element in a set const_iterator cbegin() const { return const_iterator( m_Buckets[0].cbegin(), m_Buckets, m_Buckets + bucket_count() ); } - //@} /// Returns an const iterator that addresses the location succeeding the last element in a set - //@{ const_iterator end() const { return cend(); } + /// Returns an const iterator that addresses the location succeeding the last element in a set const_iterator cend() const { return const_iterator( m_Buckets[bucket_count() - 1].cend(), m_Buckets + bucket_count() - 1, m_Buckets + bucket_count() ); } - //@} + //@} public: /// Initializes hash set