Boost logo

Boost :

Subject: Re: [boost] [flat_set] When to sort?
From: Joaquin M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2017-04-08 08:54:06


El 08/04/2017 a las 0:28, Ion Gaztañaga via Boost escribió:
> Committed to develop new experimental functions:
>
> class flat_map/set
> {
> sequence_type extract_sequence();
> void adopt_sequence(sequence_type &&seq);
> void adopt_sequence(ordered_unique_range_t, sequence_type &&seq);
> };

Shouldn't you also provide

   void adopt_sequence(unique_range_t, sequence_type &&seq);
   void adopt_sequence(ordered_range_t, sequence_type &&seq);

for flat_map/set?

Joaquín M López Muñoz


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