On 5/23/16 4:25 PM, Walter Bright wrote:
On 5/23/2016 12:03 PM, Steven Schveighoffer wrote:
Indeed, D does not overload based on return type ever.

It does factor into type matching when a function pointer is used, for
example.


Yes, that may be the only time return type is factored in, but practically speaking, a function overload set that overloads solely on return type is not directly callable (you will get ambiguity error), so there is little point to create such a situation.

-Steve

Reply via email to