On Thu, Nov 10, 2005 at 11:35:20PM +0100, Gabriel Dos Reis wrote: > Mark Mitchell <[EMAIL PROTECTED]> writes: > > | Ideally, I think we would support it; I'm just not sure exactly what > | restrictions, if any, should apply to the flexible array data member. > | For example, perhaps the type of the elements should be one that does > | not require construction. Perhaps that's OK; I'm just not sure. > > Maybe accept it just the way it is used in C, e.g. POD, no > inheritance, no fancy stuff.
I think we have to do at least that, because using the extension in C is common, and headers get shared by C and C++. It's probably fine to refuse it in the context of inheritance and the like.