SharedOf

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

alias SharedOf(T) = shared(T)

Parameters

T

A type.

Return Value

inout(T).

Examples

static assert(is(SharedOf!int == shared int));

Meta