[ https://issues.apache.org/jira/browse/THRIFT-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750586#comment-13750586 ]
Carl Yeksigian commented on THRIFT-2149: ---------------------------------------- Committed; thanks! There was a missing "\n" in the options. > 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