16 Sep
2015
16 Sep
'15
6:24 p.m.
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.
re a: so i guess the Allocator template parameter that's currently in flat_set/map will be swapped out for a Container one ala std::queue, right?