It only dictates how it can be interacted with when you have a reference to it.
Re: Why do immutable variables need reference counting?
rikki cattermole via Digitalmars-d-learn Sun, 10 Apr 2022 22:06:44 -0700
Storage classes like immutable/const/shared are not tied to any memory
management strategy. Nor does it dictate memory lifetime.
- Re: Why... H. S. Teoh via Digitalmars-d-learn
- Re: Why do immutable... wjoe via Digitalmars-d-learn
- Re: Why do immut... Ali Çehreli via Digitalmars-d-learn
- Re: Why do ... Dom DiSc via Digitalmars-d-learn
- Re: Why... Ali Çehreli via Digitalmars-d-learn
- Re: Why do ... wjoe via Digitalmars-d-learn
- Re: Why... ag0aep6g via Digitalmars-d-learn
- Re: Why... wjoe via Digitalmars-d-learn
- Re: Why... Ali Çehreli via Digitalmars-d-learn
- Re: Why... wjoe via Digitalmars-d-learn
- Re: Why do immutable var... rikki cattermole via Digitalmars-d-learn
- Re: Why do immutable variabl... IGotD- via Digitalmars-d-learn
- Re: Why do immutable variables ne... user1234 via Digitalmars-d-learn