an action in my contract accepts an asset:
void token::burn(asset a)
which I want to print out:
printf("Asset [%s] burnt\n", a.symbol.to_string());
except the symbol
class does not offer stringification. there's a print
method but that's not what I need as I want a string I can embed elsewhere
this seems like pretty basic functionality. how is this done?