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

StatusWith should work with non-default constructible T

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.4
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Platform 3 05/15/15, Platform 4 06/05/15

    Description

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

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: