C++ Library headers should not have any using directives

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Mathias Stearn
            Reporter:
            Lance Diduck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: