Return values from auto function

Mike Parker aldacron at gmail.com
Fri Nov 6 16:07:58 UTC 2020


On Friday, 6 November 2020 at 15:06:18 UTC, Andrey Zherikov wrote:

> To clarify my statement:
> Yes, Result!void and Result!int are different types but I 
> couldn't find a way to implicitly convert one to another.

You can't. Structs do not implicitly convert to each other, 
templated or otherwise.


More information about the Digitalmars-d-learn mailing list