Support BSONObj comparisons in idl generated comparisons

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2019-01-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Mark Benvenuto
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: