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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: