The OpenD Programming Language

fullyQualifiedName

* Get the fully qualified name of a type or a symbol. Can act as an intelligent type/symbol to string converter.

  1. eponymoustemplate fullyQualifiedName(T)
  2. eponymoustemplate fullyQualifiedName(alias T)
    enum fullyQualifiedName ()

Examples

module myModule;
struct MyStruct {}
static assert(fullyQualifiedName!(const MyStruct[]) == "const(myModule.MyStruct[])");
static assert(fullyQualifiedName!fullyQualifiedName == "std.traits.fullyQualifiedName");

Meta