ReturnType and overloaded functions

Idan Arye via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 12 17:29:22 PDT 2015


On Friday, 12 June 2015 at 23:26:00 UTC, Yuxuan Shui wrote:
> When there are multiple overloaded functions, whose return type 
> will I get when I use ReturnType? Is there a way I could choose 
> a specific function by its parameter types?

The return type of the first declared one: 
http://dpaste.dzfl.pl/f448ec624592


More information about the Digitalmars-d mailing list