Am Dienstag, dem 15.04.2025 um 14:50 +0200 schrieb Michael Matz:
> Hello,
...

> > struct A {
> >   int *buf __counted_by(len); // 'len' *must* be in the struct.
> >   int len;
> > };
> 
> ... means that we would have to implement general delayed parsing for 
> expressions in C parsers. 

I have to agree with Michael.  This was the main reason
we rejected the original approach.  

I also think consistency with general syntax for arrays in structs
is far more important for C than consistency for the special case of
having only one identifier in counted_by.

Martin

Reply via email to