Postfix string literal alternative suggestion

bearophile bearophileHUGS at lycos.com
Sat Feb 9 15:08:35 PST 2008


Derek Parnell:
> It is annoying that that sometimes 'cast' means convert and sometimes it
> means pretend and sometimes it means something else.

I agree. I think the many casts you can find in C++ aren't much easy to use & remember, but the alternative may have many disadvantages too. I think this situation has to be improved (probably splitting the semantics to different syntaxes).

Bye,
bearophile



More information about the Digitalmars-d mailing list