April 02
How do I get the mangled name of a field? mangledName!T requires passing a type ;/

April 02
On 2019-04-02 15:11, Alex wrote:
> How do I get the mangled name of a field? mangledName!T requires passing a type ;/

struct Foo
{
    int a;
}

void main()
{
    writeln(Foo.a.mangleof);
}

-- 
/Jacob Carlborg