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)
    enum fullyQualifiedName (
    T
    )
  2. eponymoustemplate fullyQualifiedName(alias T)

Examples

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

Meta