Returning fixed size arrays

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 25 14:20:25 PDT 2014


Tobias Pankrath:

> Isn't this a case for Named Return Value Optimization?

Perhaps, but then why aren't dmd/ldc doing it? And the question 
was if that's possible in the ABI, so it always happens (unless 
the array is very small).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list