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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: