Calls to struct methods and immutable

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Nov 15 15:40:07 PST 2012


On 11/15/2012 07:48 PM, Ali Çehreli wrote:
> Do you have a reference type in your struct?

Assuming I do, what can I do to ensure the struct instance is immutable?  Is 
cast(immutable) now the only option?


More information about the Digitalmars-d-learn mailing list