On Thursday, 27 March 2014 at 17:41:14 UTC, Jeremy DeHaan wrote:
typeof(this) gives its fully qualified name though. I was looking for a way to get just the name of the class alone.

I guess I'm confused about what 'fully qualified name' entails.

For a class Foo, is "Foo" not just the name of the class?

           assert(typeof(this).stringof == "Foo");

Reply via email to