[
https://issues.apache.org/jira/browse/THRIFT-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell closed THRIFT-2149.
--------------------------------
Resolution: Fixed
> 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: 0.10.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 was sent by Atlassian JIRA
(v6.3.4#6332)