C++ Logo

std-proposals

Advanced search

Re: [span] Value of dynamic_extent

From: Tae Lim Kook <uruwi_at_[hidden]>
Date: Mon, 01 Jul 2019 17:07:29 +0000
> I propose that zero would be a better value for dynamic_extent. With
> this value the above-mentioned symbols becomes:
>
> Itanium : _ZNKSt4spanIiLm0EE5clearEv
> MSVC : ?clear@?$span_at_H$0A@@std@@QEBAXXZ
>
> In the concrete examples, this is a reduction of 9 and 7 characters
> respectively for each symbol.

Hmm, is there any need to have zero as an actual static extent?
Perhaps in code that's generic to the size?

- T.

Received on 2019-07-01 12:09:27