C++ Logo

std-proposals

Advanced search

Re: [std-proposals] C-style array specialization for std::get

From: Zhihao Yuan <zy_at_[hidden]>
Date: Fri, 11 Mar 2022 18:09:53 +0000
On Friday, March 11th, 2022 at 4:23 AM, Giuseppe D'Angelo via Std-Proposals <std-proposals_at_[hidden]> wrote:

>

> [...] I was just wondering if, historically, breaking
> semantics w.r.t. plain arrays (and aligning on existing containers
> instead) has always been a design choice or it "just happened" because
> of multiple papers in flight at the same time.
>

> * array was added to TR1 in ~2003 (N1548, N1475)
> * then got merged into the draft in ~2006 (N2003)
> * ref qualifiers on *this was proposed in ~2005 (N1821)
>


I think you can still change it.
Paper is welcome.

--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
_______________________________________________

Received on 2022-03-11 18:09:58