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

Remove equality/inequality operators from options classes

    XMLWordPrintable

    Details

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

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: