thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <>
Subject [jira] [Assigned] (THRIFT-3921) C++ code should print enums as strings
Date Thu, 16 Feb 2017 20:22:41 GMT


James E. King, III reassigned THRIFT-3921:

    Assignee: James E. King, III

> C++ code should print enums as strings
> --------------------------------------
>                 Key: THRIFT-3921
>                 URL:
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Compiler
>            Reporter: Vivek Jain
>            Assignee: James E. King, III
> THRIFT-2067 added {{operator<<}} to the C++ generated code, which is great, but
enums are printed as numbers rather than their string representation. It would be great if
the generated code printed them as a string instead. There might be some backwards-compatibility
concerns (if users have already defined their own versions, then thrift's version would cause
compile errors), not sure how important you guys think those are.
> Other thoughts/concerns? I am willing to work on a patch if no one else is able to work
on it.

This message was sent by Atlassian JIRA

View raw message