Преглед изворни кода

doc: updated meta container doc (::reserve)

skypjack пре 2 година
родитељ
комит
4b307cb2b2
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      docs/md/meta.md

+ 8 - 0
docs/md/meta.md

@@ -385,6 +385,10 @@ to case. In particular:
   true in case of success.<br/>
   true in case of success.<br/>
   For example, it's not possible to clear fixed size containers.
   For example, it's not possible to clear fixed size containers.
 
 
+* The `reserve` member function allows to increase the capacity of the wrapped
+  container and returns true in case of success.<br/>
+  For example, it's not possible to increase capacity of fixed size containers.
+
 * The `begin` and `end` member functions return opaque iterators that is used to
 * The `begin` and `end` member functions return opaque iterators that is used to
   iterate the container directly:
   iterate the container directly:
 
 
@@ -472,6 +476,10 @@ differences in behavior in the case of key-only containers. In particular:
 * The `clear` member function allows to clear the wrapped container and returns
 * The `clear` member function allows to clear the wrapped container and returns
   true in case of success.
   true in case of success.
 
 
+* The `reserve` member function allows to increase the capacity of the wrapped
+  container and returns true in case of success.<br/>
+  For example, it's not possible to increase capacity of standard maps.
+
 * The `begin` and `end` member functions return opaque iterators that are used
 * The `begin` and `end` member functions return opaque iterators that are used
   to iterate the container directly:
   to iterate the container directly: