ImmutableOf

Adds $(D_KEYWORD immutable) qualifier to the type T.

alias ImmutableOf(T) = immutable(T)

Parameters

T

A type.

Return Value

immutable(T).

Examples

static assert(is(ImmutableOf!int == immutable int));

Meta