On Mon, May 18, 2009 at 10:53 AM, Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote: > Jarrett Billingsley wrote: >> >> On Mon, May 18, 2009 at 1:48 PM, Andrei Alexandrescu >> <seewebsiteforem...@erdani.org> wrote: >>> >>> Jarrett Billingsley wrote: >>>> >>>> The second is worse. __ctor (if it exists) is not virtual, so it's >>>> not possible to get a list of overloads of it with __traits. >>> >>> This is a simple one: >>> >>> final class Finalize(C) : C >>> { >>> this(A...)(A args) if (is(new C(args)) >>> { >>> super(args); >>> } >>> } >> >> What the! > > I know, I didn't close a paren :o).
When did templated constructors start being allowed?! I see nothing about it in the change log. --bb