standard ranges

Jonathan M Davis jmdavisProg at gmx.com
Wed Jun 27 08:41:11 PDT 2012


On Wednesday, June 27, 2012 17:58:46 Gor Gyolchanyan wrote:
> I tested it out and the string literal without qualifiers counts as a
> dstring.

That depends entirely on what you assign it to. 
writeln(typeof("hello").stringof) prints string, not dstring. So, the literal 
by itself is a string by default.

- Jonathan M Davis


More information about the Digitalmars-d mailing list