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

stop deleting the rvalue overload of pool::entry::operator->()

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      This disallows the useful and safe pattern for one-shot operations: pool->datebase("db").collection("coll").insert_one(...);

      https://github.com/mongodb/mongo-cxx-driver/blob/131fa1a67acd45c0eebcbdcfee42b212af8d2e80/src/mongocxx/pool.hpp#L82

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: