[vlc-devel] [vlc-commits] libvlc: media: remove VLA
filip at videolabs.io
Mon May 23 16:09:39 CEST 2016
> > This is NOT a VLA. This is flexible array. While VLA are indeed optional in
> > C11, flexible arrays are mandatory.
> But what about C++ ?
> I'm not sure flexible arrays are allowed in C++, even in C++11.
You are correct, ISO C++ has no notation of flexible arrays; mostly because the
standard prohibits data-members of array-type without a constant-expression
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel