How to "stringnify"?

Imperatorn johan_forsberg_86 at hotmail.com
Sun Oct 10 08:48:21 UTC 2021


On Sunday, 10 October 2021 at 08:28:30 UTC, rempas wrote:
> Is there a way to "stringnify" in Dlang? In C we would do 
> something like the following:
>
> `#define STRINGIFY(x) #x`
>
> What's the equivalent in D?

For simple stuff you have .stringof


More information about the Digitalmars-d-learn mailing list