inline std::string to_string(#x:type-name  v)
{
  switch(v)
  {
    #x:enum-field-to-string
  }
  return "";
}
