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
Jacob Carlborg via Digitalmars-d-learn Tue, 02 Apr 2019 11:50:32 -0700
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