This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Constructor for new T[..]
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Andrei Zmievski <andrei at gravitonic dot com>
- Cc: gcc at gnu dot org
- Date: 06 May 2003 21:10:02 -0300
- Subject: Re: Constructor for new T[..]
- Organization: GCC Team, Red Hat
- References: <20030506172226.GA4801@hyperion.gravitonic.com>
On May 6, 2003, Andrei Zmievski <andrei@gravitonic.com> wrote:
> I found out that it's possible to invoke a non-default constructor when
> using 'new' operator to create an array of objects.
Err... Which version of GCC. This used to be accepted in very old
versions of GCC, but IIRC it was taken out a long time ago. It's
definitely not Standard C++.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer