Am Donnerstag, dem 24.07.2025 um 15:06 -0700 schrieb Bill Wendling: > On Thu, Jul 24, 2025 at 11:11 AM Martin Uecker <[email protected]> wrote: > > Am Donnerstag, dem 24.07.2025 um 16:26 +0000 schrieb Aaron Ballman: > > > >
> > constexpr size_t size = 4;
> > struct foo {
> > char (*buf)[size] __counted_by(size); // two different "size"!
> > int size;
> > };
>
> VLAs within structs are frustrating...
This is not one.
Martin
