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 11:22:52 UTC

[jira] [Created] (THRIFT-2149) Add an option to disable the generation of default operators

Chris Stylianou created THRIFT-2149:
---------------------------------------

             Summary: 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


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