On Wed, 20 Aug 2014 14:44:40 +0000 Peter Alexander via Digitalmars-d <[email protected]> wrote:
> Well, the return type is already the common type of all return > paths no, it's not. the return type will be taken from the first return statement in code. > That doesn't help at all. I want return by ref when possible, not > always return by value. If I wanted return by value, I'd just > return by value!! you can't return ref and non-ref simultaneously from one function.
signature.asc
Description: PGP signature
