AA value returned by ref function (comments needed)

w0rp devw0rp at gmail.com
Sun Jun 30 03:11:15 PDT 2013


Hmm, I would just write two overloads, one reading, one writing, 
and stop there. I usually do this for slices too, so one can be 
const and the other non-const. I assume the want to do this 
usually appears in member functions in structs and classes.


More information about the Digitalmars-d mailing list