add get_allocator methods

This commit is contained in:
2019-05-05 01:48:36 +07:00
parent ab89a80043
commit 75bb71c1bd
4 changed files with 50 additions and 13 deletions

View File

@@ -133,6 +133,10 @@ namespace flat_hpp
insert(ilist);
}
allocator_type get_allocator() const {
return data_.get_allocator();
}
iterator begin() noexcept { return data_.begin(); }
const_iterator begin() const noexcept { return data_.begin(); }
const_iterator cbegin() const noexcept { return data_.cbegin(); }