Fix BSONArrayBuilder append failure with std::vector<bool> proxy type

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Iterating std::vector<bool> with const auto& yields a proxy type std::__bit_const_reference that does not match any BSONArrayBuilder::append overloads. This causes a build failure with Clang on macOS (which is stricter about implicit conversions than Linux).

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: