How do I express a mutable reference to a const object in D?
What I want to do is to define a variable, which refers a constant object, but I can change which constant object it is referring. Is this possible?
Yuxuan Shui via Digitalmars-d-learn Wed, 01 Jul 2015 01:36:08 -0700
How do I express a mutable reference to a const object in D?
What I want to do is to define a variable, which refers a constant object, but I can change which constant object it is referring. Is this possible?