[SERVER-38880] Support BSONObj comparisons in idl generated comparisons Created: 07/Jan/19 Updated: 29/Oct/23 Resolved: 11/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Security 2019-01-28 | ||||||||
| Participants: | |||||||||
| Description |
|
IDL generates operator== and other relational operators. BSONObj does not support operator== so IDL needs to generate relational operators with std::tie(). Also, std::tie() may cause GCC to hit the max template instantiation recursive depth of 256 when comparing large complicated structures. |
| Comments |
| Comment by Githook User [ 11/Jan/19 ] |
|
Author: {'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto'}Message: |