Insert always succeeds for multiset
| 209 | |
| 210 | // Insert always succeeds for multiset |
| 211 | iterator insert(const value_type& value) { |
| 212 | ValueWithId vwid(value, mNextId++); |
| 213 | auto result = mTree.insert(vwid); |
| 214 | return iterator(result.first); |
| 215 | } |
| 216 | |
| 217 | iterator insert(value_type&& value) { |
| 218 | ValueWithId vwid(fl::move(value), mNextId++); |