ConstOf

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

alias ConstOf(T) = const(T)

Parameters

T

A type.

Return Value

inout(T).

Examples

static assert(is(ConstOf!int == const int));

Meta