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

Konrad Grochowski edited comment on THRIFT-2836 at 11/17/14 7:37 PM:
---------------------------------------------------------------------

-1 as C\+\+11 features will be part of C\+\+V2 generator/library and there is 
no need for further complication of existing generator (one of the reasons to 
create V2 generator was "C\+\+ generator has too many options")


was (Author: hcorg):
-1 as C++11 features will be part of C++V2 generator/library and there is no 
need for further complication of existing generator (one of the reasons to 
create V2 generator was "C++ generator has too many options")

> Optionally generate C++11 MoveConstructible types
> -------------------------------------------------
>
>                 Key: THRIFT-2836
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2836
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C++ - Compiler
>    Affects Versions: 1.0
>            Reporter: Nate Rosenblum
>            Assignee: Nate Rosenblum
>
> Presently the cpp compiler only emits copy constructors for generated Thrift 
> types. This is sub-optimal when passing types as parameters to std::bind when 
> there are container fields that have move-constructible STL implementations. 
> Adding rvalue constructors & assignment operators will avoid copies in these 
> cases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to