DMD 0.174 release
Jarrett Billingsley
kb3ctd2 at yahoo.com
Tue Nov 14 22:54:27 PST 2006
"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message
news:eje966$1184$1 at digitaldaemon.com...
> "Walter Bright" <newshound at digitalmars.com> wrote in message
> news:ejdj7u$da3$1 at digitaldaemon.com...
>> Much improved tuple support.
>>
>> New 'scope' attribute for RAII objects. 'auto' still works the same, but
>> will not for much longer. Use 'auto' for type inference.
>>
>> http://www.digitalmars.com/d/changelog.html
>>
>> http://ftp.digitalmars.com/dmd.174.zip
A few questions:
1) For the delegate .funcptr property, would it be possible for it to
include the context pointer as the first parameter? Currently the .funcptr
allows us to get the type / call signature of the delegate but it's not
possible to actually use the resulting function as there is no way to pass
it the context short of dipping into ASM..
2) The class/struct .tupleof property is cool, but is there any way to get
at the names of the corresponding fields? Additionally, what would _really_
rock my socks would be a way to get the tuple of the class/struct _methods_.
That would probably immediately make many kinds of reflection possible from
within the language.
Indexing tuples rules, btw.
More information about the Digitalmars-d-announce
mailing list