dchar literals?

bearophile bearophileHUGS at lycos.com
Mon Nov 11 05:20:03 PST 2013


Philippe Sigaud:

> And I agree with you than character literals should default to 
> dchar. It's
> a perpetual source of friction for me.

99% of my char literals need to be of type char.

On the other hand once you have suffixes to specify the char 
type, most of that problem vanishes, because writing 'x'c or 
'x'w, 'x'd is good.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list