[Boost.Container] flat_set constructor with ordered_unique_range
Hi list, If I use the flat_set constructor passing ordered_unique_range, does the library assert in debug mode that the passed data range is indeed ordered and unique? I don't seem to find such assert, but I think it would be very useful, to catch programmer errors. Regards
On 02/03/2016 17:34, dariomt@gmail.com wrote:
Hi list,
If I use the flat_set constructor passing ordered_unique_range, does the library assert in debug mode that the passed data range is indeed ordered and unique?
if that check does not alter the complexity of the constructor (I think this is the case), it could be a good addition. Can you please fill a ticket explaining what you expect? Best, Ion
If I use the flat_set constructor passing ordered_unique_range, does the library assert in debug mode that the passed data range is indeed ordered and unique?
if that check does not alter the complexity of the constructor (I think this is the case), it could be a good addition. Can you please fill a ticket explaining what you expect?
Created ticket 12117 in trac with minimal example and expected behavior. Thanks! And many thanks for this awesome library!
participants (3)
-
dario
-
dariomt@gmail.com
-
Ion Gaztañaga