Boost logo

Boost-Commit :

From: chochlik_at_[hidden]
Date: 2008-07-07 10:01:00


Author: matus.chochlik
Date: 2008-07-07 10:01:00 EDT (Mon, 07 Jul 2008)
New Revision: 47189
URL: http://svn.boost.org/trac/boost/changeset/47189

Log:
- Disabled support for referencing to the global scope by '::' in the
  registering and reflection macros for portability sake

Text files modified:
   sandbox/mirror/boost/mirror/meta_data_fwd.hpp | 6 ++----
   sandbox/mirror/boost/mirror/meta_namespace.hpp | 16 ----------------
   2 files changed, 2 insertions(+), 20 deletions(-)

Modified: sandbox/mirror/boost/mirror/meta_data_fwd.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_data_fwd.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_data_fwd.hpp 2008-07-07 10:01:00 EDT (Mon, 07 Jul 2008)
@@ -24,8 +24,7 @@
 #define BOOST_MIRRORED_NAMESPACE(FULL_NAMESPACE_NAME) \
         ::boost::mirror::meta_namespace< \
                 ::boost::mirror::namespace_ \
- FULL_NAMESPACE_NAME ## \
- _boost_mirror_helper \
+ FULL_NAMESPACE_NAME \
                 ::_ \
>
 // namespace_ :: _boost_mirror_helper :: _
@@ -74,8 +73,7 @@
  */
 #define BOOST_MIRRORED_TYPEDEF_GLOBAL_SCOPE(TYPEDEF) \
         ::boost::mirror::meta_type< \
- BOOST_MIRROR_GET_TYPEDEFD_TYPE_SELECTOR_GLOBAL_SCOPE( \
- NAMESPACE, \
+ BOOST_MIRROR_GET_TYPEDEFD_TYPE_SELECTOR_GS( \
                         TYPEDEF \
                 ) \
>

Modified: sandbox/mirror/boost/mirror/meta_namespace.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_namespace.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_namespace.hpp 2008-07-07 10:01:00 EDT (Mon, 07 Jul 2008)
@@ -103,8 +103,6 @@
 
         };
 
- namespace _boost_mirror_helper = ::boost::mirror::namespace_;
-
 } // namespace namespace_
 
 // meta_namespace specialization for the global scope
@@ -149,8 +147,6 @@
  * static const bchar* get_name(mpl::false_)(return "baz";} // -5-
  * };
  * } // namespace baz
- * namespace baz_boost_mirror_helper = // -7-
- * ::boost::mirror::namespace_::test::foo::bar::baz; // -8-
  * } // namespace bar
  * } // namespace foo
  * } // namespace test
@@ -182,18 +178,6 @@
                         } /* -5- */ \
                 }; \
                 } \
- namespace BOOST_PP_CAT( \
- BOOST_PP_SEQ_HEAD( \
- BOOST_PP_SEQ_REVERSE( NAME_SEQUENCE ) \
- ), \
- _boost_mirror_helper \
- ) = /* -7- */ \
- ::boost::mirror::namespace_ \
- BOOST_PP_SEQ_FOR_EACH( \
- BOOST_MIRROR_REG_NAMESPACE_ENUM_HELPER, \
- _, \
- NAME_SEQUENCE \
- ) ; /* -8- */ \
                 BOOST_PP_SEQ_FOR_EACH( \
                         BOOST_MIRROR_REG_NAMESPACE_EPILOGUE_HELPER, \
                         _, \


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