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

Tag all private methods and types with private visibility

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.1.0
    • None
    • API
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: