Boost logo

Boost-Commit :

From: chochlik_at_[hidden]
Date: 2008-07-08 11:25:56


Author: matus.chochlik
Date: 2008-07-08 11:25:55 EDT (Tue, 08 Jul 2008)
New Revision: 47228
URL: http://svn.boost.org/trac/boost/changeset/47228

Log:
- minor bug fixes
Text files modified:
   sandbox/mirror/boost/mirror/detail/traversal.hpp | 12 ++++++------
   sandbox/mirror/boost/mirror/meta_attributes.hpp | 5 +----
   sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml | 2 +-
   3 files changed, 8 insertions(+), 11 deletions(-)

Modified: sandbox/mirror/boost/mirror/detail/traversal.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/detail/traversal.hpp (original)
+++ sandbox/mirror/boost/mirror/detail/traversal.hpp 2008-07-08 11:25:55 EDT (Tue, 08 Jul 2008)
@@ -109,9 +109,6 @@
                                         )
                                 );
                                 //
- // get the type of the attribute
- typedef typename MetaAttribute::type attrib_type;
- //
                                 // the poiner has to be valid
                                 assert(ptr_to_inst != 0);
                                 //
@@ -119,9 +116,11 @@
                                 typedef BOOST_TYPEOF(ma.get(*ptr_to_inst)) instance_type;
                                 instance_type instance(ma.get(*ptr_to_inst));
                                 //
+ typedef typename MetaAttribute::type
+ attrib_type_selector;
                                 // traverse the attribute
                                 TraversalType<
- BOOST_MIRRORED_CLASS(attrib_type),
+ BOOST_MIRRORED_CLASS(attrib_type_selector),
                                         typename mpl::push_back<
                                                 AttribsNodePath,
                                                 MetaAttribute
@@ -156,9 +155,10 @@
                                 );
                                 //
                                 // traverse the attributes
- typedef typename MetaAttribute::type attrib_type;
+ typedef typename MetaAttribute::type
+ attrib_type_selector;
                                 TraversalType<
- BOOST_MIRRORED_CLASS(attrib_type),
+ BOOST_MIRRORED_CLASS(attrib_type_selector),
                                         typename mpl::push_back<
                                                 AttribsNodePath,
                                                 MetaAttribute

Modified: sandbox/mirror/boost/mirror/meta_attributes.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_attributes.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_attributes.hpp 2008-07-08 11:25:55 EDT (Tue, 08 Jul 2008)
@@ -656,11 +656,8 @@
                 typedef typename detail_traits::type traits;
                 
                 typedef typename traits::meta_type_selector
- meta_type_selector;
+ type_selector;
 
- /** The meta-type of the attribute
- */
- typedef ::boost::mirror::meta_type< meta_type_selector > meta_type;
         };
 
 } // namespace mirror

Modified: sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml (original)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml 2008-07-08 11:25:55 EDT (Tue, 08 Jul 2008)
@@ -272,7 +272,7 @@
                         - Tested with gcc 4.2.1 on FreeBSD
                         - Tested with gcc 4.2.1 on SuSE
                         - Tested with gcc 4.3.0 on SuSE
- - Tested with intel 10.1 on SuSE
+ - Tested with intel 10.1 on SuSE (fails with some examples)
                 </revision>
         </revisions>
 </library>


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