About structs and performant handling
Namespace
rswhite4 at googlemail.com
Sun Mar 10 12:35:14 PDT 2013
> First, it introduce a new syntax, which is always a concern. It
> add language complexity, and it likely to not be used
> everywhere it should.
Yes, you're right. But I also said that the syntax does not
matter.
My intention was to stimulate thinking about the real issue.
Even if "auto ref" will work someday for non-templates (we really
need an official statement about that), then even small structs
will be passed by ref. And that's still very ugly.
More information about the Digitalmars-d
mailing list