C++ Logo

std-proposals

Advanced search

Re: [std-proposals] span<incomplete_type>

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Thu, 6 Jul 2023 17:40:08 +0100
On Thu, 6 Jul 2023 at 07:50, Andrey Davydov via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Hello everyone!
>
> I'd like to propose a support span of elements of incomplete type.
> The draft of the proposal (
> https://github.com/AndreyG/cpp-papers/blob/main/span-of-incomplete-element-type.md)
> contains motivation. What do you think about it?
>
>
Casey Carter recently observed that C++23 added
span::const_reverse_iterator, which is ill-formed if the element type is
incomplete. You would need to address that too.

Received on 2023-07-06 16:40:22