Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2149

Add an option to disable the generation of default operators

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chris5287 Chris Stylianou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: