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

IDL compiler does not support nested namespaces in generated code

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.7
    • None
    • None
    • None
    • Fully Compatible
    • Platforms 2017-05-08

    Description

      To support replications needs for IDL, the IDL compiler needs to add support for nested namespaces:

      Syntax:

      global:
          cpp_namespace: "mongo::repl"
       
      ...
      

      Generated Code

      namespace mongo {
      namespace repl {
      ...
      }  // namespace repl
      }  // namespace mongo
      

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: