[Issue 9066] Implement constructor forwarding template

2013-02-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9066



--- Comment #3 from Andrej Mitrovic  2013-02-04 
12:00:13 PST ---
There's a few problems:

Default values aren't handled, and they could be initialized with a
non-accessible private value. The parameter types could also be private types
which might not be accessible.

It would definitely be simpler to implement inheriting constructors, C++11 has
them, described here:
http://stackoverflow.com/questions/9979194/what-is-constructor-inheritance

Perhaps we could implement something similar via:

class C : B
{
alias super.this this;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 9066] Implement constructor forwarding template

2012-12-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9066



--- Comment #2 from Peter Alexander  2012-12-31 
09:57:25 PST ---
*** Issue 8965 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 9066] Implement constructor forwarding template

2012-11-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9066



--- Comment #1 from Andrej Mitrovic  2012-11-23 
11:02:46 PST ---
Created an attachment (id=1165)
code

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---