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

IDL should generate a default constructor

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.12
    • 3.5.8
    • IDL
    • None
    • Fully Compatible
    • Platforms 2017-08-21

    Description

      IDL code generator should generate a constructor that either:

      a. Default-value (as in what is defined in the IDL) initializes all POD members or call the default constructor
      b. Has arguments to initialize all member variables

      This is to avoid scenarios where an instance of a idl generated class will have uninitialized member variables after construction.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: