On type functions

Stefan Koch uplink.coder at googlemail.com
Thu May 7 13:51:09 UTC 2020


On Thursday, 7 May 2020 at 13:43:36 UTC, Adam D. Ruppe wrote:
> On Thursday, 7 May 2020 at 13:26:36 UTC, Stefan Koch wrote:
>> Here is how a simple FullyQualifiedName would look when 
>> written as type function:
>
> Your implementation won't pass the unit tests... the major 
> complication of Phobos' fullyQualifiedName is reconstructing 
> template arguments which does a *lot* more than 
> __traits(identifier).

true! But it's a step in the right direction.


More information about the Digitalmars-d mailing list