Boost logo

Boost :

Subject: Re: [boost] [container] moving a pre-built vector into a flat_set
From: Sam Kellett (samkellett_at_[hidden])
Date: 2015-09-16 14:24:55


> 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?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk