.tupleof.stringof

Christopher Wright dhasenan at gmail.com
Wed Jan 21 19:44:41 PST 2009


Check this out!
class Foo { int someField; }
pragma (msg, Foo.tupleof[0].stringof); // int
pragma (msg, Foo.tupleof[0].mangleof); // someField

Why is this? It's counterintuitive.


More information about the Digitalmars-d-learn mailing list