Nevermind! I rediscovered the `inout`attribute.Though if I may say so, I have no idea how `inout` is supposed to indicate "whatever the constness of a".
Re: Propagating constness through function results
David Zhang via Digitalmars-d-learn Sun, 17 Sep 2017 14:40:47 -0700
- Propagating constness through... David Zhang via Digitalmars-d-learn
- Re: Propagating constnes... David Zhang via Digitalmars-d-learn
- Re: Propagating cons... David Zhang via Digitalmars-d-learn
- Re: Propagating ... Steven Schveighoffer via Digitalmars-d-learn