[Issue 865] in overloaded-function, class A should matches (Object) better than (void*)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 21 00:48:14 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=865


bugzilla at digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from bugzilla at digitalmars.com  2007-01-21 02:48 -------
D has 3 kinds of overload matching:

1) exact match
2) match with implicit conversions
3) no match

There is no dividing up (2) into better or worse matches (like C++). So, the
example is behaving as defined.


-- 



More information about the Digitalmars-d-bugs mailing list