Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61178 - in trunk/boost/fusion: adapted adapted/class adapted/struct adapted/struct/detail include
From: mr.chr.schmidt_at_[hidden]
Date: 2010-04-10 10:35:15


Author: cschmidt
Date: 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
New Revision: 61178
URL: http://svn.boost.org/trac/boost/changeset/61178

Log:
ADAPT_STRUCT_DEFINE_PROXY_TYPE refactoring
Added:
   trunk/boost/fusion/include/proxy_type.hpp (contents, props changed)
Text files modified:
   trunk/boost/fusion/adapted/class/adapt_assoc_class_named.hpp | 2 +-
   trunk/boost/fusion/adapted/class/adapt_class_named.hpp | 2 +-
   trunk/boost/fusion/adapted/struct.hpp | 2 ++
   trunk/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp | 2 +-
   trunk/boost/fusion/adapted/struct/adapt_struct_named.hpp | 2 +-
   trunk/boost/fusion/adapted/struct/detail/proxy_type.hpp | 8 +++++++-
   6 files changed, 13 insertions(+), 5 deletions(-)

Modified: trunk/boost/fusion/adapted/class/adapt_assoc_class_named.hpp
==============================================================================
--- trunk/boost/fusion/adapted/class/adapt_assoc_class_named.hpp (original)
+++ trunk/boost/fusion/adapted/class/adapt_assoc_class_named.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -14,7 +14,7 @@
 #define BOOST_FUSION_ADAPT_ASSOC_CLASS_NAMED_NS( \
     WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
                                                                                 \
- BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE( \
+ BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
         WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \
                                                                                 \
     BOOST_FUSION_ADAPT_ASSOC_CLASS( \

Modified: trunk/boost/fusion/adapted/class/adapt_class_named.hpp
==============================================================================
--- trunk/boost/fusion/adapted/class/adapt_class_named.hpp (original)
+++ trunk/boost/fusion/adapted/class/adapt_class_named.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -16,7 +16,7 @@
 #define BOOST_FUSION_ADAPT_CLASS_NAMED_NS( \
     WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
                                                                                 \
- BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE( \
+ BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
         WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \
                                                                                 \
     BOOST_FUSION_ADAPT_CLASS( \

Modified: trunk/boost/fusion/adapted/struct.hpp
==============================================================================
--- trunk/boost/fusion/adapted/struct.hpp (original)
+++ trunk/boost/fusion/adapted/struct.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -14,5 +14,7 @@
 #include <boost/fusion/adapted/struct/adapt_assoc_struct.hpp>
 #include <boost/fusion/adapted/struct/adapt_struct_named.hpp>
 #include <boost/fusion/adapted/struct/adapt_struct.hpp>
+#include <boost/fusion/adapted/struct/define_assoc_struct.hpp>
+#include <boost/fusion/adapted/struct/define_struct.hpp>
 
 #endif

Modified: trunk/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp
==============================================================================
--- trunk/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp (original)
+++ trunk/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -20,7 +20,7 @@
 #define BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_NS( \
     WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
                                                                                 \
- BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE( \
+ BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
         WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \
                                                                                 \
     BOOST_FUSION_ADAPT_STRUCT_BASE( \

Modified: trunk/boost/fusion/adapted/struct/adapt_struct_named.hpp
==============================================================================
--- trunk/boost/fusion/adapted/struct/adapt_struct_named.hpp (original)
+++ trunk/boost/fusion/adapted/struct/adapt_struct_named.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -23,7 +23,7 @@
 #define BOOST_FUSION_ADAPT_STRUCT_NAMED_NS( \
     WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
                                                                                 \
- BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE( \
+ BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
         WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \
                                                                                 \
     BOOST_FUSION_ADAPT_STRUCT_BASE( \

Modified: trunk/boost/fusion/adapted/struct/detail/proxy_type.hpp
==============================================================================
--- trunk/boost/fusion/adapted/struct/detail/proxy_type.hpp (original)
+++ trunk/boost/fusion/adapted/struct/detail/proxy_type.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -11,7 +11,7 @@
 
 #include <boost/fusion/adapted/struct/detail/namespace.hpp>
 
-#define BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE( \
+#define BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
     WRAPPED_TYPE,NAMESPACE_SEQ,NAME) \
                                                                                 \
     BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DEFINITION_BEGIN(NAMESPACE_SEQ) \
@@ -27,4 +27,10 @@
                                                                                 \
     BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DEFINITION_END(NAMESPACE_SEQ)
 
+#define BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE( \
+ WRAPPED_TYPE, NAMESPACE_SEQ, NAME) \
+ \
+ BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
+ WRAPPED_TYPE, (0)NAMESPACE_SEQ, NAME)
+
 #endif

Added: trunk/boost/fusion/include/proxy_type.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/fusion/include/proxy_type.hpp 2010-04-10 10:35:13 EDT (Sat, 10 Apr 2010)
@@ -0,0 +1,13 @@
+/*=============================================================================
+ Copyright (c) 2010 Christopher Schmidt
+
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+==============================================================================*/
+
+#ifndef BOOST_FUSION_INCLUDE_PROXY_TYPE_HPP
+#define BOOST_FUSION_INCLUDE_PROXY_TYPE_HPP
+
+#include <boost/fusion/adapted/struct/detail/proxy_type.hpp>
+
+#endif


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