Cheers, ParticlePeter
How to return a const handle (view) to a mutable member of an agregate
ParticlePeter via Digitalmars-d-learn Sun, 13 Mar 2016 12:41:42 -0700
I have a struct that privately warps an std.container.array. I
would like to return a read-only reference of this array, it
should not be duplicated. How can I do this?
- How to return a const handle (view) ... ParticlePeter via Digitalmars-d-learn
- Re: How to return a const handl... Basile B. via Digitalmars-d-learn
- Re: How to return a const h... Basile B. via Digitalmars-d-learn
- Re: How to return a con... JR via Digitalmars-d-learn
- Re: How to return a... ParticlePeter via Digitalmars-d-learn
- Re: How to return a const h... anonymous via Digitalmars-d-learn
- Re: How to return a con... Chris Wright via Digitalmars-d-learn
- Re: How to return a... anonymous via Digitalmars-d-learn