C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Proposal: ranges::reserve

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Thu, 16 Jul 2026 14:05:22 +0200
On 16/07/2026 10:24, Yexuan Xiao via Std-Proposals wrote:
> I have realized that the second version I proposed is incorrect and the
> first version is correct, except for its name and the parameter.

Just to better understand, are you proposing to expose/standardize the
functionality currently "hidden" into ranges::to?

Specifically the reserveable-container machinery in

https://eel.is/c++draft/range.utility.conv#to-2.1.4

https://eel.is/c++draft/range.utility.conv#general-3


Thanks,
--
Giuseppe D'Angelo

Received on 2026-07-16 12:05:27