SharedInoutOf

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

alias SharedInoutOf(T) = shared(inout T)

Parameters

T

A type.

Return Value

inout(T).

Examples

static assert(is(SharedInoutOf!int == shared inout int));

Meta