Asking types about their traits (D 1.0)
Burton Radons
burton-radons at shaw.ca
Mon Feb 11 08:39:35 PST 2008
Jarrett Billingsley Wrote:
> "Burton Radons" <burton-radons at shaw.ca> wrote in message
> news:foot25$2mku$1 at digitalmars.com...
> >
> > Dude, no thunk needed. What I said works - EAX is used for the last
> > argument, and it's used for the "this" argument when calling functions, so
> > reconfiguring as I said works for structs and it works for classes:
> >
> > ....
> >
> > Although I'll say that making EAX the LAST argument is bizarre.
>
> All I'll say is that there are architectures other than x86-32.
All that requires is the declaration that the last parameter to a function behaves the same as a "this" pointer in a delegate, however that is interpreted in the host environment.
Either way keep in mind that there must be a solution to this; DMD can't be producing invalid code like that.
More information about the Digitalmars-d-learn
mailing list