Help needed to learn typeof(return)

Vinod K Chandran kcvinu82 at gmail.com
Sat Mar 26 18:31:03 UTC 2022


On Saturday, 26 March 2022 at 18:25:54 UTC, Vinod K Chandran 
wrote:
> Hi all,

> The author says `LargerOf!(A, B)` is used instead of `auto` 
> keyword. How did compiler understands the return type from 
> `LargerOf!(A, B)`.

Oh Sorry !. I forgot the `LargerOf!(A, B)` definition which is in 
the same chapter. My fault. Sorry.


More information about the Digitalmars-d-learn mailing list