C++ Logo

std-proposals

Advanced search

Re: [std-proposals] D4102R0: Container insertion and erasure should be allowed to relocate

From: Ell <ell.ell.se_at_[hidden]>
Date: Sun, 22 Mar 2026 10:40:34 +0000
On Sunday, March 22nd, 2026 at 12:20 PM, Ell via Std-Proposals <std-proposals_at_[hidden]> wrote:

> Regarding type requirements, AFAICT the only way to populate a vector of
> non-move-constructible elements is using the constructor that
> default-constructs n elements

Actually, scratch that. You can also construct it from a range with a
convertible type.

Received on 2026-03-22 10:40:46