Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6198853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:05:11+00:00 2026-05-24T04:05:11+00:00

When working with library ABC, it natural that all names are included into the

  • 0

When working with library ABC, it natural that all names are included into the same top level namespace. Is it possible to remove top level namespace from class names, but show inclosed namespaces?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:05:12+00:00Added an answer on May 24, 2026 at 4:05 am

    There is no such option inside of Doxygen. Still you can use preprocessor to make it work.

    #ifndef DOXY_PARSER
        #define LIB_NAMESPACE_STARTS namespace lib_namespace { /##/
        #define LIB_NAMESPACE_ENDS } /##/
        #define LIB_NAMESPACE lib_namespace
    #else
        #define LIB_NAMESPACE_STARTS /##/
        #define LIB_NAMESPACE_ENDS /##/
        #define LIB_NAMESPACE
    #endif
    

    You should include this code into some common header and set predefined DOXY_PARSER macro in Doxygen options. This workaround makes using of library namespace less convenient but it is not so crucial.

    LIB_NAMESPACE_STARTS();
        namespace internal_namespace {
            struct Trololo {};
        }
        LIB_NAMESPACE::internal_namespace::Trololo T;
    LIB_NAMESPACE_ENDS();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a project that I'm working Enterprise Library logging into, and that application
I am working on a library that loads files (hfd5 - pytables) into an
I am working with a library that has a blocking call that never times
I am working on a library that allows its users (other libraries residing in
I'm working on a memory tracking library where we use mprotect to remove access
I'm working on a library which implements the actor model on top of Grand
I am working on a library that I wish to hide the internals of
I'm working on a library that is currently using standard tcp sockets. An end
I'm working on a library that is distributed as a java jar, and I'm
I am working with a library called GCDAsyncUDPSocket and there is method that required

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.