[Issue 2596] Variadic constructors don't compile

2023-08-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2596

--- Comment #11 from Dlang Bot  ---
dlang/dlang.org pull request #3602 "Updates to Template Comparison page" was
merged into master:

- 00028f506c024b3b08c9bd2e6fdcfa000fb0 by tjs137:
  Constructor templates are supported since 2.027

  See resolved Bugzilla issue 2596.

https://github.com/dlang/dlang.org/pull/3602

--


[Issue 2596] Variadic constructors don't compile

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2596

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|unspecified |D2

--


[Issue 2596] Variadic constructors don't compile

2009-04-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2596


bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #10 from bugzi...@digitalmars.com  2009-04-01 13:52 ---
Fixed DMD 2.027


-- 



[Issue 2596] Variadic constructors don't compile

2009-03-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2596





--- Comment #7 from jarrett.billings...@gmail.com  2009-03-16 19:48 ---
 
 Walter didn't say it is impossible, he merely pointed out that the case is not
 a variadic constructor, but a /variadic template/ constructor, I believe.
 

I didn't say that he said that it was impossible ;)  I asked why can't ctors
be templated as in why is it not possible now instead of why is it not
possible.


-- 



[Issue 2596] Variadic constructors don't compile

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2596





--- Comment #2 from and...@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.


-- 



[Issue 2596] Variadic constructors don't compile

2009-01-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2596





--- Comment #1 from 2kor...@gmail.com  2009-01-21 01:19 ---
S s = S();

What should be called - a default ctor or S.this() with empty tuple?


--