SharedConstInoutOf

alias SharedConstInoutOf(T) = shared(const(inout(T)))

Parameters

T

The type to qualify

Return Value

T with the const, shared, and inout qualifiers added.

Examples

static assert(is(SharedConstInoutOf!(int) == shared const inout int));
static assert(is(SharedConstInoutOf!(int) == const shared inout int));
static assert(is(SharedConstInoutOf!(inout int) == shared inout const int));
// immutable variables are implicitly shared and const
static assert(is(SharedConstInoutOf!(immutable int) == immutable int));

Meta