digitalmars.D.learn - Is-expression and immutable interface
- Jean-Louis Leroy (9/9) Apr 14 2020 How comes?
How comes?
immutable struct Foo
{
}
pragma(msg, is(Foo == immutable)); // true
immutable interface Bar
{
}
pragma(msg, is(Bar == immutable)); // false
Apr 14 2020








Jean-Louis Leroy <jl leroy.nyc>