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


Martin Nowak <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|Implement constructor       |Implicit constructor
                   |forwarding template         |inheritance


--- Comment #4 from Martin Nowak <[email protected]> 2013-10-03 15:56:49 PDT ---
I think what we want is implicit constructor inheritance even for non-default
constructors. The same rules should apply.

> Default values aren't handled, and they could be initialized with a 
> non-accessible private value.

Depends on the scope of default values, I'm not sure about this right now.
If they live in the callee scope it'll work fine.
If they live in the caller scope your constructor isn't callable from
outside of the module and your constructor should be private.

> The parameter types could also be private types which might not be accessible.

Same here your constructor should be private.


Old forum post on the topic of constructor inheritance.

http://forum.dlang.org/thread/[email protected]

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

Reply via email to