[ 
https://issues.apache.org/jira/browse/THRIFT-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Sałaś updated THRIFT-1947:
--------------------------------

    Attachment: 0001-Thrift-1947_v3.patch

Sorry, the previous patch contained few bugs. This one should be better. The 
enum generation was correct, but now it's more human readable.
                
> C++ constructor with initializer list should be generated
> ---------------------------------------------------------
>
>                 Key: THRIFT-1947
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1947
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Compiler
>            Reporter: Vitali Lovich
>            Assignee: Kamil Sałaś
>         Attachments: 0001-Thrift-1947.patch, 0001-Thrift-1947_v2.patch, 
> 0001-Thrift-1947_v3.patch
>
>
> It would be really nice if the thrift constructor took in an initializer list 
> like the generated Java constructor does for non-optional fields.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to