Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
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.
Attachments
Issue Links
- relates to
-
THRIFT-2717 C++V2 generator/library
- Open