You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chris Stylianou (JIRA)" <ji...@apache.org> on 2013/08/25 13:41:51 UTC
[jira] [Updated] (THRIFT-2149) Add an option to disable the
generation of default operators
[ https://issues.apache.org/jira/browse/THRIFT-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Stylianou updated THRIFT-2149:
------------------------------------
Attachment: THRIFT-2149-no-default-operator.patch
> 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
> 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