[
https://issues.apache.org/jira/browse/THRIFT-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692858#comment-13692858
]
Vitali Lovich commented on THRIFT-1947:
---------------------------------------
Oh. One more point. If there is only 1 argument for the constructor, the
constructor should be marked explicit.
> 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, v3_test_out.zip
>
>
> 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