Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51875 - sandbox/mirror/boost/mirror/detail
From: chochlik_at_[hidden]
Date: 2009-03-20 16:31:15


Author: matus.chochlik
Date: 2009-03-20 16:31:14 EDT (Fri, 20 Mar 2009)
New Revision: 51875
URL: http://svn.boost.org/trac/boost/changeset/51875

Log:
[mirror 0.3.x]
- minor traversal optimization

Text files modified:
   sandbox/mirror/boost/mirror/detail/traversal.hpp | 60 ++++++++--------------------------------
   1 files changed, 12 insertions(+), 48 deletions(-)

Modified: sandbox/mirror/boost/mirror/detail/traversal.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/detail/traversal.hpp (original)
+++ sandbox/mirror/boost/mirror/detail/traversal.hpp 2009-03-20 16:31:14 EDT (Fri, 20 Mar 2009)
@@ -170,10 +170,7 @@
                                 typename visitor_can_enter_attribute<
                                         VisitorType,
                                         MetaAttribute,
- meta_path::node_context<
- AttribsNodePath,
- MetaAttribute
- >
+ meta_path::empty_context
>::type(),
                                 visitor,
                                 ma,
@@ -217,10 +214,7 @@
                                 typename visitor_can_leave_attribute<
                                         VisitorType,
                                         MetaAttribute,
- meta_path::node_context<
- AttribsNodePath,
- MetaAttribute
- >
+ meta_path::empty_context
>::type(),
                                 visitor,
                                 ma,
@@ -262,10 +256,7 @@
                                         VisitorType,
                                         MetaClass,
                                         MetaAttributes,
- meta_path::node_context<
- ClassNodePath,
- MetaAttributes
- >
+ meta_path::empty_context
>::type(),
                                 visitor
                         );
@@ -300,10 +291,7 @@
                                         VisitorType,
                                         MetaClass,
                                         MetaAttributes,
- meta_path::node_context<
- ClassNodePath,
- MetaAttributes
- >
+ meta_path::empty_context
>::type(),
                                 visitor
                         );
@@ -404,10 +392,7 @@
                                 typename visitor_can_enter_base_class<
                                         VisitorType,
                                         MetaInheritance,
- meta_path::node_context<
- BaseClassesNodePath,
- MetaInheritance
- >
+ meta_path::empty_context
>::type(),
                                 visitor,
                                 mbc,
@@ -451,10 +436,7 @@
                                 typename visitor_can_leave_base_class<
                                         VisitorType,
                                         MetaInheritance,
- meta_path::node_context<
- BaseClassesNodePath,
- MetaInheritance
- >
+ meta_path::empty_context
>::type(),
                                 visitor,
                                 mbc,
@@ -642,10 +624,7 @@
                         typename visitor_can_enter_type<
                                 VisitorType,
                                 MetaClass,
- meta_path::node_context<
- NodePath,
- MetaClass
- >
+ meta_path::empty_context
>::type(),
                         visitor,
                         mc,
@@ -689,10 +668,7 @@
                         typename visitor_can_leave_type<
                                 VisitorType,
                                 MetaClass,
- meta_path::node_context<
- NodePath,
- MetaClass
- >
+ meta_path::empty_context
>::type(),
                         visitor,
                         mc,
@@ -790,10 +766,7 @@
                                 typename visitor_can_enter_namespace_members<
                                         VisitorType,
                                         Members,
- meta_path::node_context<
- NamespaceNodePath,
- Members
- >
+ meta_path::empty_context
>::type(),
                                 visitor,
                                 m,
@@ -834,10 +807,7 @@
                                 typename visitor_can_leave_namespace_members<
                                         VisitorType,
                                         Members,
- meta_path::node_context<
- NamespaceNodePath,
- Members
- >
+ meta_path::empty_context
>::type(),
                                 visitor,
                                 m,
@@ -888,10 +858,7 @@
                         typename visitor_can_enter_namespace<
                                 VisitorType,
                                 MetaNamespace,
- meta_path::node_context<
- NodePath,
- MetaNamespace
- >
+ meta_path::empty_context
>::type(),
                         visitor,
                         mn,
@@ -935,10 +902,7 @@
                         typename visitor_can_leave_namespace<
                                 VisitorType,
                                 MetaNamespace,
- meta_path::node_context<
- NodePath,
- MetaNamespace
- >
+ meta_path::empty_context
>::type(),
                         visitor,
                         mn,


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