Remove std::ref and boost::ref from docs
[libcds.git] / cds / container / impl / lazy_list.h
index e44fbe42bbbdc3c51946fe9bc5ac5a69d7255ab9..6605dbfaf78ce9534edb4459994e4cfb2a64ca94 100644 (file)
@@ -300,7 +300,7 @@ namespace cds { namespace container {
             ++it        ;   // skip dummy head node
             return it;
         }
-        const_iterator cbegin()
+        const_iterator cbegin() const
         {
             const_iterator it( head() );
             ++it        ;   // skip dummy head node
@@ -314,7 +314,7 @@ namespace cds { namespace container {
         {
             return const_iterator( tail() );
         }
-        const_iterator cend()
+        const_iterator cend() const
         {
             return const_iterator( tail() );
         }
@@ -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.
 
@@ -566,8 +566,6 @@ namespace cds { namespace container {
             \endcode
             where \p item is the item found, \p key is the <tt>find</tt> function argument.
 
-            You may pass \p f argument by reference using \p std::ref.
-
             The functor may change non-key fields of \p item. Note that the function is only guarantee
             that \p item cannot be deleted during functor is executing.
             The function does not serialize simultaneous access to the list \p item. If such access is