Changed docs
authorkhizmax <libcds.dev@gmail.com>
Sun, 22 Feb 2015 19:01:51 +0000 (22:01 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sun, 22 Feb 2015 19:01:51 +0000 (22:01 +0300)
cds/container/bronson_avltree_map_rcu.h
cds/container/impl/bronson_avltree_map_rcu.h

index 532877ef159b742701ed6a4c3db93514c1021eb3..f5c6b6039d029496c113b913f78046ac159f4806 100644 (file)
@@ -236,7 +236,7 @@ namespace cds { namespace container {
             The operation performs inserting or changing data with lock-free manner.
 
             If the \p key not found in the map, then the new item created from \p key
-            is inserted into the map (note that in this case the \ref key_type should be
+            will be inserted into the map (note that in this case the \ref key_type should be
             constructible from type \p K).
             Otherwise, the functor \p func is called with item found.
             The functor \p Func may be a functor:
@@ -256,7 +256,7 @@ namespace cds { namespace container {
 
             Returns <tt> std::pair<bool, bool> </tt> where \p first is \p true if operation is successfull,
             \p second is \p true if new item has been added or \p false if the item with \p key
-            already is in the tree.
+            already exists.
         */
         template <typename K, typename Func>
         std::pair<bool, bool> update( K const& key, Func func )
index 5456b9e5bc9cfe6ccd7ece9a557be3408f3f2f36..a314847faec58f4fbc28b8c82d089fb4ca2af0a0 100644 (file)
@@ -265,15 +265,15 @@ namespace cds { namespace container {
             If \p bInsert is \p false, only updating of existing node is possible.
 
             If \p key is not found and inserting is allowed (i.e. \p bInsert is \p true),
-            then the new node created from \p key is inserted into the map; note that in this case the \ref key_type should be
+            then the new node created from \p key will be inserted into the map; note that in this case the \ref key_type should be
             constructible from type \p K.
-            Otherwise, the value is changed to \p pVal.
+            Otherwise, the value for \p key will be changed to \p pVal.
 
             RCU \p synchronize() method can be called. RCU should not be locked.
 
             Returns <tt> std::pair<bool, bool> </tt> where \p first is \p true if operation is successfull,
             \p second is \p true if new node has been added or \p false if the node with \p key
-            already is in the tree.
+            already exists.
         */
         template <typename K, typename Func>
         std::pair<bool, bool> update( K const& key, mapped_type pVal, bool bInsert = true )