[Issue 11837] String literals should convert to const(void)*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 12 19:27:20 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11837



--- Comment #11 from yebblies <yebblies at gmail.com> 2014-01-13 14:27:10 EST ---
(In reply to comment #10)
> Changing the way overloading works can have far reaching consequences,
> including issues like template matching, virtual functions, covariance,
> contravariance, and __traits(compiles).

Irrelevant as I'm not changing the way overloading works.  Listing parts of the
compiler is not the same as pointing out and actual problem.

> I am not at all comfortable with just
> throwing it in with the idea that it can be backed out.

Your response consisted of "there could be problems" without specifying any
actual problems.  In the face of unspecified and potentially non-existent
problems, putting the code in the compiler and waiting for feedback seems
completely reasonable to me.

> This proposal has not
> received much of any discussion.

That's what we're doing now...

> I also don't see memcmp usage as a compelling must-have use case.

Given that A converts to B, and B converts to C, why doesn't A convert to C? 
memcmp is a symptom of this strange limitation.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list