Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1616

Remove equality/inequality operators from options classes

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0
    • API
    • None
    • Major Change

    Description

      We found, while implementing options for Command Monitoring and SDAM Monitoring (CXX-1561), that defining equality or inequality for options that include std::function members is hard. It's not a problem worth solving, since options classes don't seem to need these operators.

      Remove operator== and operator!= for all options classes.

      Don't do a deprecation process; these are likely not used by any external code.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: