SharedConstOf

Adds $(D_KEYWORD shared const) qualifier to the type T.

alias SharedConstOf(T) = shared(const T)

Parameters

T

A type.

Return Value

shared(const T).

Examples

static assert(is(SharedConstOf!int == shared const int));

Meta