16 Sep
2015
16 Sep
'15
7:44 p.m.
On 16 September 2015 at 17:46, Ion GaztaƱaga
On 16/09/2015 15:23, Thorsten Ottosen wrote:
Well, almost.
IMO, we need three things to make it perfect:
A. flat_set/map should have an additional template argument specifying the internal vector type (it can default to the current choice).
B. You should be able to move the whole container, as suggested.
C. The constructor should contain an assertion with a call to is_sorted()
kind regards
-Thorsten
Seems like a cool feature for several users. Create a ticket and I'll try to put it in the to-do list.
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? cheers