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

XMLWordPrintableJSON

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

      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
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: