writeSingleCharLiteral

Write a single-quoted character literal

Useful for printing '' char literals in e.g. error messages, ddoc, or the .stringof property

nothrow
void
writeSingleCharLiteral
(,
dchar c
)

Parameters

buf OutBuffer

buffer to append character in

c dchar

code point to write

Meta