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

StatusWith should work with non-default constructible T

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.4
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Platform 3 05/15/15, Platform 4 06/05/15

      This has come up a few times in recent code reviews.

      According to jason.carey this is best accomplished using std::aligned_storage

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: