C++ Logo

std-discussion

Advanced search

Re: Defect of the C Standard within the section "The typedef specifier"

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Sat, 13 Nov 2021 10:02:59 +0100
On 13/11/2021 09.44, Vladimir Grigoriev via Std-Discussion wrote:
> Within the section 9.2.4 The typedef specifier of the C++ 20 Standard in the example2 of the paragraph 2 there is such an alias declaration
>
> using cell = pair<void*, cell*>; // error
>
> There is said nothing why this declaration is incorrect.

Thanks for the report.

I've created editorial issue https://github.com/cplusplus/draft/issues/5107

Jens

Received on 2021-11-13 03:03:04