Are flexible array members valid in C++?

C++ was first standardized in 1998, so it predates the addition of flexible array members to C (which was new in C99). There was a corrigendum to C++ in 2003, but that didn’t add any relevant new features. The next revision of C++ (C++2b) is still under development, and it seems flexible array members still aren’t added to it.

Leave a Comment