C++ Logo

std-proposals

Advanced search

Re: [span] Value of dynamic_extent

From: Jorg Brown <jorg.brown_at_[hidden]>
Date: Mon, 1 Jul 2019 16:36:53 -0700
On Mon, Jul 1, 2019 at 4:21 PM Nevin Liber via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> On Mon, Jul 1, 2019 at 3:18 PM Bjorn Reese via Std-Proposals <
> std-proposals_at_[hidden]> wrote:
>
>> I am simply proposing to change the value to something that may bring
>> us other benefits.
>
>
> - Why any value at all? Last I checked, we now have variadic
> templates, where "now" is defined as since 2011...
> - Why conflate dynamic-extent span and static-extent span into the
> same templated type?
>
> If we're going to do down that rabbit hole, I want a
template-parameter-free std::string, and an allocator-free std::vector,
too.

Received on 2019-07-01 18:38:58