[CXX-499] Tag all private methods and types with private visibility Created: 27/Jan/15  Updated: 24/Apr/15  Resolved: 10/Feb/15

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 0.1.0

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-490 Determine if we want inline / templat... Closed
Epic Link: PM-123

 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.



 Comments   
Comment by Githook User [ 12/Feb/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-499 tag bsoncxx exported types with BSONCXX_API
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/2ce15baa05c3b5ca5bc04091bbed32174fc3696c

Generated at Wed Feb 07 21:59:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.