extract .manglof of template with lambda parameters

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 23 23:03:59 PDT 2016


so I have a main as follows

int main(string[] args)
{
     int a = 3;
     map!((int x) => x*x)((GlobalPointer!int(&a)),a);
     return 0;
}

I want to get the mangleof of the generated call to map but 
without referencing it in the .o and then pass the mangleof to 
another function. the call to map must still be instantiated.

How do I do this?


More information about the Digitalmars-d-learn mailing list