How to stringify a template instantiation expression?

aliak something at something.com
Wed Feb 28 15:49:25 UTC 2018


On Wednesday, 28 February 2018 at 15:09:56 UTC, Yuxuan Shui wrote:
> For a template instantiation expression like A!(B, C!(D, E)), I 
> want to get a string "A!(B, C!(D, E))", better if A, B, C, D, E 
> is replaced by fully qualified name.
>
> Is this possible?

A!(B, C!(D, E)).stringof I guess. Will print the former.

There's a Learn forum as well btw :)

Cheers


More information about the Digitalmars-d mailing list