Template return type?

Sebastiaan Koppe mail at skoppe.eu
Wed Oct 3 10:10:28 UTC 2018


On Wednesday, 3 October 2018 at 10:01:02 UTC, Andrea Fontana 
wrote:
> On Wednesday, 3 October 2018 at 09:37:29 UTC, JN wrote:
>> int i = returnDefault!int(); obviously works, but the point is 
>> I would like to skip the explicit type.
>
> See: 
> https://forum.dlang.org/post/ufhibwmouxpivjylqdgm@forum.dlang.org

See also:
https://forum.dlang.org/post/qmmjiofwmzqzdsgmvrai@forum.dlang.org


More information about the Digitalmars-d-learn mailing list