[Issue 2596] Variadic constructors don't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 21 07:13:54 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2596





------- Comment #2 from andrei at metalanguage.com  2009-01-21 09:13 -------
(In reply to comment #1)
> S s = S();
> 
> What should be called - a default ctor or S.this() with empty tuple?
> 

Good question. Today that must be the default ctor because any struct must have
a default constructor that doesn't execute user code.


-- 



More information about the Digitalmars-d-bugs mailing list