[CXX-1616] Remove equality/inequality operators from options classes Created: 24/Jul/18  Updated: 28/Oct/23  Resolved: 24/Jul/18

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.4.0

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CXX Command Monitoring and SDAM Monitoring
Backwards Compatibility: 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.



 Comments   
Comment by Githook User [ 26/Jul/18 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: CXX-1616 Remove operator== and != for options
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/802b5b3d8901990ff02bfb8135459062e1f74b19

Generated at Wed Feb 07 22:03:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.