Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13470

Give mongo::Status move semantics when compiling in C++11 mode

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
    • Fully Compatible

      In theory, a moveable Status object would remove a branch when returning Status objects since unlike the copy constructor the move constructor would not need to test for whether the _error field was NULL or not.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: