Multiple return value as requirements for safety and performance

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 20 08:34:04 PST 2016


On 12/20/2016 6:08 AM, Ilya Yaroshenko wrote:
> No, tuples stores either value or pointer. If it stores pointer then it is not
> safe and it is not CTFE.

You can make it safe by using an array rather than a pointer.


More information about the Digitalmars-d mailing list