Created on 2025-09-05.00:00:00 last changed 1 month ago
[ 2025-10-21; Reflector poll. Status changed: New → LEWG. ]
Set priority to 2 after reflector poll.
Use append_range to be consistent with other adapters. Send to LEWG for confirmation.
As specified in [queue.mod], `std::queue::push_range` is guaranteed to use `c.append_range` if that exists. For `flat_map` and its flat friends, we only ever use `c.insert` and never try to use `c.insert_range`, `c.append_range`, etc. LWG thinks the "as if by" wording allows implementations to use `insert_range` when the container type being adapted is `std::vector` but not for user-defined containers. Should the flat adaptors follow `std::queue` and guarantee that they will use the `xxx_range` member if they exist? That would mean that user containers need to ensure that any member functions with those names must behave as expected, but we already require that for `std::queue`.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2025-10-21 14:07:47 | admin | set | status: new -> lewg |
| 2025-10-21 13:38:15 | admin | set | messages: + msg15307 |
| 2025-09-05 00:00:00 | admin | create | |