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

Remove equality/inequality operators from options classes

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None
    • Major Change

      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.

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

              Created:
              Updated:
              Resolved: