PointerTarget

Retrieves the target type U of a pointer U*.

template PointerTarget (
T
) {}

Members

Aliases

PointerTarget
alias PointerTarget = U
Undocumented in source.

Parameters

T

Pointer type.

Return Value

Pointer target type.

Examples

static assert(is(PointerTarget!(bool*) == bool));
static assert(is(PointerTarget!(const bool*) == const bool));
static assert(is(PointerTarget!(const shared bool*) == const shared bool));
static assert(!is(PointerTarget!bool));

Meta