You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/07 13:42:00 UTC

[jira] [Commented] (THRIFT-1947) C++ constructor with initializer list should be generated

    [ https://issues.apache.org/jira/browse/THRIFT-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735818#comment-16735818 ] 

James E. King III commented on THRIFT-1947:
-------------------------------------------

Given THRIFT-4720 has moved us to C++11 does it make that easier or just work in C++11 now?

> 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ś
>            Priority: Major
>         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 was sent by Atlassian JIRA
(v7.6.3#76005)