SimpleTypeOf

Returns the same as TypeOf, but but does away with pointers

Members

Aliases

SimpleTypeOf
alias SimpleTypeOf = SimpleTypeOf!(std.traits.PointerTarget!Type)
Undocumented in source.
SimpleTypeOf
alias SimpleTypeOf = Type
Undocumented in source.
SimpleTypeOf
alias SimpleTypeOf = std.traits.PointerTarget!Type
Undocumented in source.
Type
alias Type = TypeOf!thing
Undocumented in source.

Examples

struct S {
    long id;
    int age;
    string name() {
        return "name";
    }
}
int number;
auto s = new S;

TypeOf!int; // int
TypeOf!number; // int
TypeOf!(S**); // S
TypeOf!s; // S

Meta