How pretty-print a struct?
ZZ
zz at zz.com
Thu Mar 31 19:13:40 UTC 2022
On Thursday, 31 March 2022 at 16:08:19 UTC, mw wrote:
> On Thursday, 31 March 2022 at 06:35:15 UTC, ZZ wrote:
>> Hi,
>>
>> Is there an easy way to pretty-print a struct which also
>> includes arrays?
>>
>> pretty_array does a very good job for arrays.
>>
>
>
> If you want the field variable names in the output, you can use:
>
>
> https://code.dlang.org/packages/jdiutil
>
> https://code.dlang.org/packages/boilerplate
Thanks.
More information about the Digitalmars-d-learn
mailing list