Fixed size array return

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 11 01:17:49 PDT 2014


Dmitry Olshansky:

> IMO this is a good idea and it pretty much NRVO/RVO for structs 
> extended to fixed-size arrays (which more or less a special 
> kind of struct). Since C/C++ do not have fixed-size arrays 
> passed by value I see no damage to ABI compatibility.

OK, filed as:
https://issues.dlang.org/show_bug.cgi?id=13093

We'll see if Walter likes it enough.

Bye,
bearophile


More information about the Digitalmars-d mailing list