getting rid of immutable (or const)

berni someone at somewhere.com
Fri Sep 6 09:21:09 UTC 2019


On Friday, 6 September 2019 at 08:47:07 UTC, Kagamin wrote:
> Physical objects work like reference types. A place on 
> bookshelf is at one coordinate and a book is at another 
> coordinate, you don't copy the book, you fill a place on 
> bookshelf with a reference to the book.

So it's more like a piece of paper, where there is place for a 
note. And when assigning, I erase that note (whatever it was) and 
write the new note at that place. Got it! :-)


More information about the Digitalmars-d-learn mailing list