Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-23

C++ Library headers should not have any using directives

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    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

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            ldiduck Lance Diduck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: