packageName

Get the full package name for the given symbol.

template packageName () {
enum bool isNotFunc;
enum parent;
enum string parent;
enum packageName;
enum packageName;
}

Examples

static assert(packageName!packageName == "std");
static assert(packageName!moduleName == "std");

Meta

Suggestion Box / Bug Report