Changeset 1974

Show
Ignore:
Timestamp:
02/05/11 18:39:43 (2 years ago)
Author:
ahu
Message:

beginning of the removal of 'using namespace std'. Goal is to swap out string.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/namespaces.hh

    r1469 r1974  
    1111#include <boost/format.hpp> 
    1212#include <boost/algorithm/string.hpp> 
     13#include <vector> 
     14#include <map> 
     15#include <set> 
     16#include <deque> 
     17#include <string> 
     18#include <iostream> 
     19 
     20using std::vector; 
     21using std::map; 
     22using std::pair; 
     23using std::make_pair; 
     24using std::runtime_error; 
     25using std::ostringstream; 
     26using std::set; 
     27using std::deque; 
     28using std::cerr; 
     29using std::cout; 
     30using std::clog; 
     31using std::endl; 
     32using std::ifstream; 
     33using std::ofstream; 
     34using std::ostream; 
     35using std::min; // these are a bit scary, everybody uses 'min' 
     36using std::max; 
     37 
     38namespace pdns { 
     39  typedef std::string string;   
     40}; 
     41 
     42typedef pdns::string string; 
    1343 
    1444using boost::lexical_cast;