Update of /cvsroot/boost/boost/boost/xpressive/proto/transform
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13465/boost/xpressive/proto/transform
Modified Files:
fold.hpp fold_tree.hpp
Log Message:
I HATE DOXYGEN
Index: fold.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/transform/fold.hpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- fold.hpp 23 Jun 2007 07:41:20 -0000 1.13
+++ fold.hpp 26 Jun 2007 05:44:10 -0000 1.14
@@ -74,11 +74,6 @@
// A fold transform that transforms the left sub-tree and
// uses the result as state while transforming the right.
- template<typename Grammar, typename State>
- struct fold
- : branch<fold<Grammar>, State>
- {};
-
template<typename Grammar>
struct fold<Grammar, void>
: Grammar
@@ -100,11 +95,6 @@
// A reverse_fold compiler that compiles the right sub-tree and
// uses the result as state while compiling the left.
- template<typename Grammar, typename State>
- struct reverse_fold
- : branch<reverse_fold<Grammar>, State>
- {};
-
template<typename Grammar>
struct reverse_fold<Grammar, void>
: Grammar
@@ -124,6 +114,19 @@
}
};
+ // Causes Doxygen to crash. Sigh.
+ #ifndef BOOST_PROTO_DOXYGEN_INVOKED
+ template<typename Grammar, typename State>
+ struct fold
+ : branch<fold<Grammar, void>, State>
+ {};
+
+ template<typename Grammar, typename State>
+ struct reverse_fold
+ : branch<reverse_fold<Grammar, void>, State>
+ {};
+ #endif
+
}}}
#endif
Index: fold_tree.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/transform/fold_tree.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fold_tree.hpp 23 Jun 2007 07:41:20 -0000 1.2
+++ fold_tree.hpp 26 Jun 2007 05:44:10 -0000 1.3
@@ -12,7 +12,6 @@
#include <boost/xpressive/proto/detail/prefix.hpp>
#include <boost/xpressive/proto/transform/fold.hpp>
-#include <boost/xpressive/proto/transform/branch.hpp>
#include <boost/xpressive/proto/detail/suffix.hpp>
namespace boost { namespace proto { namespace transform
@@ -45,18 +44,9 @@
///
template<typename Tag, typename Grammar, typename State>
struct fold_tree
- : transform::branch<
- transform::fold<
- nary_expr<Tag, vararg<detail::fold_tree_<Tag, Grammar> > >
- >
- , State
- >
- {};
-
- template<typename Tag, typename Grammar>
- struct fold_tree<Tag, Grammar, void>
: transform::fold<
nary_expr<Tag, vararg<detail::fold_tree_<Tag, Grammar> > >
+ , State
>
{};
@@ -64,18 +54,9 @@
///
template<typename Tag, typename Grammar, typename State>
struct reverse_fold_tree
- : transform::branch<
- transform::reverse_fold<
- nary_expr<Tag, vararg<detail::reverse_fold_tree_<Tag, Grammar>
> >
- >
- , State
- >
- {};
-
- template<typename Tag, typename Grammar>
- struct reverse_fold_tree<Tag, Grammar, void>
: transform::reverse_fold<
nary_expr<Tag, vararg<detail::reverse_fold_tree_<Tag, Grammar> > >
+ , State
>
{};
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs