How to use ".stringof" to get the value of a variable and not the name of the variable (identifier) itself?
rempas
rempas at tutanota.com
Tue Oct 10 13:55:44 UTC 2023
On Tuesday, 10 October 2023 at 11:46:38 UTC, Hipreme wrote:
> My engine has its own implementation of toString(long), which
> does not have dependency with the C runtime:
>
> https://github.com/MrcSnm/HipremeEngine/blob/master/modules/util/source/hip/util/conv.d#L180C1-L208C2
>
> I have reimplemented the entire conv module since it is one of
> mostly used module and it pulled down a lot of things, so, with
> my util module I was able to make my program much smaller too.
Thank you for the idea! However, your code used Phobos which I
don't want to use so it will not do.
More information about the Digitalmars-d-learn
mailing list