File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ Link CLASS::count() const NOEXCEPT
112112 return body_.count ();
113113}
114114
115+ TEMPLATE
116+ bool CLASS::expand (const Link& count) NOEXCEPT
117+ {
118+ return body_.expand (count);
119+ }
120+
115121// query interface
116122// ----------------------------------------------------------------------------
117123
Original file line number Diff line number Diff line change @@ -104,6 +104,12 @@ Link CLASS::count() const NOEXCEPT
104104 return body_.count ();
105105}
106106
107+ TEMPLATE
108+ bool CLASS::expand (const Link& count) NOEXCEPT
109+ {
110+ return body_.expand (count);
111+ }
112+
107113// query interface
108114// ----------------------------------------------------------------------------
109115
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ class arraymap
7373 // / Count of records (or body file bytes if slab).
7474 Link count () const NOEXCEPT;
7575
76+ // / Increase count as neccesary to specified.
77+ bool expand (const Link& count) NOEXCEPT;
78+
7679 // / Errors.
7780 // / -----------------------------------------------------------------------
7881
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ class hashmap
7474 // / Count of records (or body file bytes if slab).
7575 Link count () const NOEXCEPT;
7676
77+ // / Increase count as neccesary to specified.
78+ bool expand (const Link& count) NOEXCEPT;
79+
7780 // / Errors.
7881 // / -----------------------------------------------------------------------
7982
You can’t perform that action at this time.
0 commit comments