Support marking visibility of a whole header

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-10-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Will use MONGO_MOD_PUBLIC; by itself as the first non-preprocessor, non-comment line in the header as a way to mark the header as private by default. This is primarily intended as a workaround for the C++ syntax not supporting attributes on nested namespaces like namespace foo::bar {...} but it may also just be a better way to mark a header as public.

            Assignee:
            Mathias Stearn
            Reporter:
            Memento Slack Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: