What other than a pointer can be converted implicitly to const(char)*?
Shriramana Sharma via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 21 08:02:51 PST 2015
https://github.com/D-Programming-Language/phobos/blob/master/std/conv.d#L878
The `static if` condition here says if something is a pointer and if it is
implicitly convertible to const(char)*. The isPointer! part seems
superfluous. Is there something that is not a pointer yet implicitly
convertible to const(char)*?
--
Shriramana Sharma, Penguin #395953
More information about the Digitalmars-d-learn
mailing list