[SERVER-28900] IDL compiler does not support nested namespaces in generated code Created: 21/Apr/17  Updated: 30/Oct/23  Resolved: 25/Apr/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.7

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-05-08
Participants:

 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



 Comments   
Comment by Githook User [ 25/Apr/17 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-28900 IDL compiler does not support nested namespaces in generated code
Branch: master
https://github.com/mongodb/mongo/commit/adcc93b59be5fe660febefc59764c7684ee7e636

Generated at Thu Feb 08 04:19:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.