16 Sep
2015
16 Sep
'15
7:52 p.m.
On 16/09/2015 21:44, Sam Kellett wrote:
also i see that the container used by flat_set is boost::container::vector, is this for encapsulation or is there advantages of boost::container::vector over std::vector in this capacity?
boost::container::vector has some new functions (undocumented, as they are not ready to be public) to improve performance: merge, merge_unique, insert_ordered_at. Note that boost::container::vector implements many C++11 features in C++03 compilers. Without C++11, flat_xxx would be broken. Best, Ion