type suffix for character literal

Ben Jones fake at fake.fake
Mon Dec 7 22:26:52 UTC 2020


Are there suffices (suffixes?) for character literals?

Is there a more succinct of writing "the literal 'x' as a dchar" 
than dchar('x')?

I didn't see anything 
https://dlang.org/spec/lex.html#characterliteral but figured I'd 
ask the community


More information about the Digitalmars-d-learn mailing list