Support for C++11 inline namespaces

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

Support for C++11 inline namespaces

Ed Smith-Rowland

In C++ there is a new namespace syntax that allows callers to elide the

namespace A {
inline namespace B {
namespace C {
   int foo(int);

auto i = A::C::foo(21);

These are often used to support internal versioning.
Often it is hoped users wouldn't need or want to specify inline
namespace scope.

In doxygen I would like to possibly
* elide inline namespaces in docs - probably with a config variable.
* and/or create output that you could toggle whether/how inline
namespaces appear in docs.
* and/or Have inline namespaces appear grayed out or something when
listing a library component.
Many possibilities are potentially useful to people at different times.

Is there something like this now?
If not could we add it?


Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now.
Doxygen-users mailing list
[hidden email]
Reply | Threaded
Open this post in threaded view

Re: Support for C++11 inline namespaces

This post has NOT been accepted by the mailing list yet.
Was this ever supported?

Personally looking to excluding internal namespaces from appearing in class and structs.