Getting resulting/return type from operation in templates

Paul Backus snarwin at gmail.com
Tue Jul 6 15:00:24 UTC 2021


On Tuesday, 6 July 2021 at 14:43:26 UTC, Rekel wrote:
> Is there any reason the function call in the alias is 
> acceptable? I would imagine the () part would actually require 
> 2 parameters.

You're right, it does; that was a mistake on my part. It should 
work with `Lhs.init` and `Rhs.init` as arguments.


More information about the Digitalmars-d-learn mailing list