What is the difference between enum and shared immutable?

IGotD- nise at nise.com
Wed Oct 28 22:28:16 UTC 2020

On Wednesday, 28 October 2020 at 21:54:19 UTC, Jan Hönig wrote:
> shared immutable x = 1;

Is there a point to add shared to an immutable? Aren't immutable 
implicitly also shared?

More information about the Digitalmars-d-learn mailing list