[
https://issues.apache.org/jira/browse/THRIFT-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750651#comment-13750651
]
Hudson commented on THRIFT-2149:
--------------------------------
FAILURE: Integrated in Thrift #873 (See
[https://builds.apache.org/job/Thrift/873/])
THRIFT-2149:Add an option to disable the generation of default operators (carl:
rev cf1fe74b1392f74d8463d63612cd870fa1ea1bef)
* compiler/cpp/src/generate/t_cpp_generator.cc
> Add an option to disable the generation of default operators
> ------------------------------------------------------------
>
> Key: THRIFT-2149
> URL: https://issues.apache.org/jira/browse/THRIFT-2149
> Project: Thrift
> Issue Type: Wish
> Components: C++ - Compiler
> Affects Versions: 0.9.1
> Environment: C++
> Reporter: Chris Stylianou
> Labels: c++, compiler, thrift
> Fix For: 1.0
>
> Attachments: THRIFT-2149-no-default-operator.patch
>
>
> Currently, the C++ generator automatically writes out the operators ==, !=
> and <. It would good to have an option to disable this generation if a user
> wants to write their own specialised operators for these types in a source
> file that sits by the side of the generated source, so that they do not get
> overwritten when a thrift file needs to be altered and then regenerated.
--
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