Ascii string literal.

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 6 18:47:52 PDT 2016


On Saturday, 7 May 2016 at 01:37:30 UTC, Jonathan M Davis wrote:
> In general, it's better to use representation than to cast, 
> because representation gets the constness right, whereas if you 
> cast, there's always the risk that you won't.


Yeah, if it is a general thing, but here it is a simple function 
statically typed to string...


More information about the Digitalmars-d-learn mailing list