struct constructors and function parameters

Simen kjaeraas simen.kjaras at gmail.com
Tue Nov 9 16:53:10 PST 2010


Adam Burton <adz21c at gmail.com> wrote:

> I looked into alias this and it does indeed work, unless the alias is to  
> a
> function. That has been reported as a bug though
> http://d.puremagic.com/issues/show_bug.cgi?id=2814

Wouldn't that be the opposite of what you were discussing earlier?
alias this lets a struct behave as an or whatever, not the other way
around.

-- 
Simen


More information about the Digitalmars-d-learn mailing list