[vlc-devel] [vlc-commits] libvlc: media: remove VLA

Filip Roséen 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
size.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160523/1a35bf08/attachment.html>


More information about the vlc-devel mailing list