BUG with an array of class objects
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jun 9 14:27:00 GMT 1998
Philippe Lavoie <lavoie@zeus.genie.uottawa.ca> writes:
> According to the draft of december 1996, it is an ok construct.
> Did that part of the standar change with the november 1997 edition ?
No, the problem is in your interpretation.
> * --If the new-initializer is of the form expression-list) and T is a
> class type, the appropriate constructor is called, using expression-
^^^^^
> list as the arguments (_dcl.init_);
An array type is not a class type, nor any of the types listed in the
item that follows this one.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list