Boost logo

Boost-Commit :

From: lists.drrngrvy_at_[hidden]
Date: 2008-03-21 12:30:08


Author: drrngrvy
Date: 2008-03-21 12:30:08 EDT (Fri, 21 Mar 2008)
New Revision: 43746
URL: http://svn.boost.org/trac/boost/changeset/43746

Log:
Importing cgi::common namespace into boost::*cgi namespaces when including that protocol's header
Text files modified:
   sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/acgi.hpp | 3 ++-
   sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/cgi.hpp | 2 ++
   sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/fcgi.hpp | 4 ++--
   sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/scgi.hpp | 1 +
   4 files changed, 7 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/acgi.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/acgi.hpp (original)
+++ sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/acgi.hpp 2008-03-21 12:30:08 EDT (Fri, 21 Mar 2008)
@@ -29,7 +29,8 @@
    typedef acgi_request request;
    //typedef acgi_service service;
    //typedef acgi_acceptor acceptor;
- using namespace ::cgi;
+ using namespace ::cgi; // **FIXME** this line must go.
+ using namespace ::cgi::common; // import common namespace elements.
 
  } // namespace acgi
 } // namespace cgi

Modified: sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/cgi.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/cgi.hpp (original)
+++ sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/cgi.hpp 2008-03-21 12:30:08 EDT (Fri, 21 Mar 2008)
@@ -27,6 +27,8 @@
 namespace boost {
  namespace cgi {
    using namespace ::cgi::cgi;
+ using namespace ::cgi;
+ using namespace ::cgi::common;
  } // namespace acgi
 } // namespace boost
 

Modified: sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/fcgi.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/fcgi.hpp (original)
+++ sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/fcgi.hpp 2008-03-21 12:30:08 EDT (Fri, 21 Mar 2008)
@@ -20,8 +20,8 @@
 
 namespace cgi {
  namespace fcgi {
- using namespace ::cgi;
- using namespace ::cgi::common;
+ using namespace ::cgi; // **FIXME** this must go.
+ using namespace ::cgi::common; // import common elements.
  } // namespace fcgi
 } // namespace cgi
 

Modified: sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/scgi.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/scgi.hpp (original)
+++ sandbox/SOC/2007/cgi/branches/acceptor_work/boost/cgi/scgi.hpp 2008-03-21 12:30:08 EDT (Fri, 21 Mar 2008)
@@ -32,6 +32,7 @@
 namespace boost {
  namespace scgi {
    using namespace ::cgi::scgi;
+ using namespace ::cgi::common;
  } // namespace acgi
 } // namespace boost
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk