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

missing bsoncxx::document::view::empty

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.2.0
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      It would be nice to have a function that checks if the underlying document is empty.

      Without that, the calling code has to compare the returned length() to 5 which is ugly.

      I've implemented it, will submit a PR soon

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            yhager Yuval Hager
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: