Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-499

Tag all private methods and types with private visibility

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.0
    • Affects Version/s: None
    • Component/s: API
    • None

      If a class 'Outer' with API visibility declares a private (C++ private) type or member, those types or members inherit the public visibility. That increases the surface area of the implicit ABI. This is especially important for things like PImpl Idiom implementation classes, of which we have many.

      We tag all private types and members of ABI visible classes with our macro that expands to making those private types and members non-ABI visible.

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: