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

Use stdx::make_unique instead of bare calls to 'new' when initializing std::unique_ptr variables, where possible

    XMLWordPrintableJSON

Details

    Description

      Using stdx::make_unique increases exception safety in some circumstances. See https://herbsutter.com/gotw/_102/ for reference.

      Attachments

        Activity

          People

            patrick.freed@mongodb.com Patrick Freed
            backlog-cxx-driver Backlog - CXX Driver Team
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: