1 matches bool, 2 matches long
Walter Bright
newshound2 at digitalmars.com
Sun Apr 28 12:15:49 PDT 2013
On 4/28/2013 8:21 AM, deadalnix wrote:
> VRP should behave as a fallback mechanism. IE, VRP should kick in when the
> situation would result as an error without. Integrals literals must be typed as
> integral types, so never match bool when an overload with an integral is
> available (same goes for byte or short).
This is a restatement of the notion of a "better" match, which I've written
about extensively in this thread.
More information about the Digitalmars-d
mailing list