http://wiki.dlang.org/DIP25
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 5 11:21:38 PST 2015
On 1/5/15 10:05 AM, Meta wrote:
> IMO, inout (and const/immutable to a degree) is a failure for use with
> class/struct methods. This became clear to me when trying to use it for
> the toString implementation of Nullable.
You'd have to be more specific for me to understand your point. inout
was specifically designed for one-implementation accessors for members
of classes/structs.
-Steve
More information about the Digitalmars-d
mailing list