Append a new slot at the end.
| 143 | |
| 144 | // Append a new slot at the end. |
| 145 | size_type append(const value_type& kv) FL_NOEXCEPT { |
| 146 | size_type idx = mData.size(); |
| 147 | mData.push_back(kv); |
| 148 | mOccupied.resize(idx + 1); |
| 149 | mOccupied.set(idx); |
| 150 | ++mSize; |
| 151 | return idx; |
| 152 | } |
| 153 | |
| 154 | size_type append(value_type&& kv) FL_NOEXCEPT { |
| 155 | size_type idx = mData.size(); |