[CDRIVER-23] C++ Library headers should not have any using directives Created: 01/Sep/10  Updated: 03/May/17  Resolved: 02/Sep/10

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

Type: Bug Priority: Major - P3
Reporter: Lance Diduck Assignee: Mathias Stearn
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

bson/bsonobjbuilder.h contains "using namespace std; " Probably others do as well
This is bad news, because now I can break a build just by reordering headers, plus ia library should never dictate the namespace policy for my entire project, esp if I use a BSON type in my interface



 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Sep/10 ]

Yep, see SERVER-1268

Just for future cases, CDRIVER is actually for the pure c driver, for c++ isssues use SERVER and the c++ drive area.

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