$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: hartmut.kaiser_at_[hidden]
Date: 2008-04-26 16:11:26
Author: hkaiser
Date: 2008-04-26 16:11:25 EDT (Sat, 26 Apr 2008)
New Revision: 44785
URL: http://svn.boost.org/trac/boost/changeset/44785
Log:
Spirit.Classic: Added some explaining comments to the namespace handling.
Text files modified: 
   trunk/boost/spirit/home/classic/namespace.hpp |    11 ++++++++++-                             
   1 files changed, 10 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/classic/namespace.hpp
==============================================================================
--- trunk/boost/spirit/home/classic/namespace.hpp	(original)
+++ trunk/boost/spirit/home/classic/namespace.hpp	2008-04-26 16:11:25 EDT (Sat, 26 Apr 2008)
@@ -11,12 +11,21 @@
 
 #if defined(BOOST_SPIRIT_USE_OLD_NAMESPACE)
 
+// Use the old namespace for Spirit.Classic, everything is located in the 
+// namespace boost::spirit.
+// This is in place for backwards compatibility with Spirit V1.8.x. Don't use
+// it when combining Spirit.Classic with other parts of the library
+
 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN /*namespace classic {*/
-#define BOOST_SPIRIT_CLASSIC_NS              boost::spirit/*classic*/
+#define BOOST_SPIRIT_CLASSIC_NS              boost::spirit/*::classic*/
 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_END   /*}*/
         
 #else
 
+// This is the normal (and suggested) mode of operation when using 
+// Spirit.Classic. Everything will be located in the namespace 
+// boost::spirit::classic, avoiding name clashes with other parts of Spirit.
+
 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN namespace classic {
 #define BOOST_SPIRIT_CLASSIC_NS              boost::spirit::classic
 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_END   }