On Monday, 15 October 2018 at 20:44:35 UTC, Manu wrote:
snip

Are you saying `is(immutable(int) == shared) == true)` ??

From the spec:
"Applying any qualifier to immutable T results in immutable T. This makes immutable a fixed point of qualifier combinations and makes types such as const(immutable(shared T)) impossible to create."

Example:

import std.stdio : writeln;

void main()
{
writeln(is(immutable(int) == shared immutable(int)) == true); //prints true
}

Reply via email to