[Issue 11900] Implicit cast of string literal -> char* causing ambiguous call
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 26 08:21:53 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=11900
Nicholas Wilson <iamthewilsonator at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iamthewilsonator at hotmail.co
| |m
--- Comment #7 from Nicholas Wilson <iamthewilsonator at hotmail.com> ---
One way to work around this is to declare an overload that takes a string
(which the literals will prefer) that simple forwards to the const[] case.
--
More information about the Digitalmars-d-bugs
mailing list