adding toString to struct
Jesse Phillips via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 12 19:29:12 PDT 2016
On Tuesday, 12 July 2016 at 05:16:30 UTC, Adam Sansier wrote:
> windows libs have a lot of structs and it would be nice to have
> the ability to convert them to a string to see them in the
> debugger(e.g., CLSID).
>
> Is there a way to do this? I've tried to pull out the code from
> the libs but it if a total clusterfuck.
std.conv.to will print a structure with field values, not sure if
that helps you if you're using a debugger.
More information about the Digitalmars-d-learn
mailing list