Quantcast

Support for C++11 inline namespaces

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

Support for C++11 inline namespaces

Ed Smith-Rowland

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

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?

Ed


------------------------------------------------------------------------------
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. http://goparallel.sourceforge.net
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for C++11 inline namespaces

jrgrafton
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.
Loading...