Wanted: Format character for source code literal
Imperatorn
johan_forsberg_86 at hotmail.com
Tue May 4 15:51:24 UTC 2021
On Tuesday, 4 May 2021 at 07:54:19 UTC, Berni44 wrote:
> On Monday, 3 May 2021 at 23:08:55 UTC, Q. Schroll wrote:
>> [...]
>
> I think, this doesn't hurt: The call of a `toString` has
> precedence for compound types like structs and classes (and in
> most of these cases it won't be possible to add a generic
> literal at all, see my post above). So, if you use some of the
> predefined qualifiers, the customized version will always be
> used, even if it has a completely different meaning.
> (Admittedly it might cause some confusion, if the customized
> versions are not well documented.)
>
> [...]
Just go with %m if you want lowercase, otherwise you would have
to use uppercase specifiers.
More information about the Digitalmars-d
mailing list