Please test: black holes and white holes
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue May 19 12:37:32 PDT 2009
Shin Fujishiro wrote:
> I wrote:
>> Now it came to my mind that the problem could be solved by inserting
>> "alias ReturnType!(C.foo) X;" in generated code. I'll try this.
>
> OK, I did it! I checked in a new version.
>
>> http://code.google.com/p/kabe/source/browse/branches/bhwh/test.d
>> http://code.google.com/p/kabe/source/browse/branches/bhwh/nonstd/traits.d
>> http://code.google.com/p/kabe/source/browse/branches/bhwh/nonstd/typecons.d
>
> Also, there's a trick to extracting parameter storage classes from a
> parameter type tuple (template parameterStorageClasses in traits.d).
Perfect!
Andrei
More information about the Digitalmars-d-announce
mailing list