Nested namespace definition proposal

45 views
Skip to first unread message

Robert Kawulak

unread,
Mar 29, 2014, 2:55:30 PM3/29/14
to std-pr...@isocpp.org, Jon Jagger
Dear all,

I've written a draft proposal for nested namespace definitions (attached to this
message). I'd like to hear your comments and suggestions.

In short, the paper proposes allowing to use a qualified name in a namespace
definition to define several nested namespaces at once, for example:

namespace A::B::C {
//...
}

The code above would be equivalent to:

namespace A {
namespace B {
namespace C {
//...
}
}
}

Best regards,
Robert Kawulak
ns.html
Reply all
Reply to author
Forward
0 new messages