Update of /cvsroot/boost/boost/boost/xpressive/proto/compiler
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5561/boost/xpressive/proto/compiler
Modified Files:
branch.hpp pass_through.hpp transform.hpp
Log Message:
proto::meta namespace is dead
Index: branch.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/compiler/branch.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- branch.hpp 21 Dec 2006 03:51:42 -0000 1.7
+++ branch.hpp 3 Feb 2007 00:14:33 -0000 1.8
@@ -29,7 +29,7 @@
// Compile the branch, pass the result, state and visitor to the
lambda
typedef typename Lambda::BOOST_NESTED_TEMPLATE apply
<
- typename meta::compile<Expr, typename Lambda::state_type,
Visitor, DomainTag>::type
+ typename result_of::compile<Expr, typename Lambda::state_type,
Visitor, DomainTag>::type
, State
, Visitor
>::type type;
Index: pass_through.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/compiler/pass_through.hpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- pass_through.hpp 21 Dec 2006 03:51:42 -0000 1.12
+++ pass_through.hpp 3 Feb 2007 00:14:33 -0000 1.13
@@ -19,12 +19,12 @@
namespace boost { namespace proto
{
- namespace meta
+ namespace result_of
{
template<typename Expr, typename State, typename Visitor, typename
DomainTag>
struct is_same_expr
: is_same<
- typename meta::compile<typename Expr::type, State,
Visitor, DomainTag>::type
+ typename result_of::compile<typename Expr::type, State,
Visitor, DomainTag>::type
, typename Expr::type
>
{};
@@ -34,7 +34,7 @@
>
struct compile_if
{
- typedef typename meta::compile<typename Expr::type, State,
Visitor, DomainTag>::type type;
+ typedef typename result_of::compile<typename Expr::type,
State, Visitor, DomainTag>::type type;
static type call(Expr const &expr, State const &state, Visitor
&visitor)
{
@@ -55,10 +55,10 @@
}
template<typename Expr, typename State, typename Visitor, typename
DomainTag>
- typename meta::compile_if<Expr, State, Visitor, DomainTag>::type
+ typename result_of::compile_if<Expr, State, Visitor, DomainTag>::type
compile_if(Expr const &expr, State const &state, Visitor &visitor,
DomainTag)
{
- return meta::compile_if<Expr, State, Visitor,
DomainTag>::call(expr, state, visitor);
+ return result_of::compile_if<Expr, State, Visitor,
DomainTag>::call(expr, state, visitor);
}
template<typename DomainTag>
@@ -68,7 +68,7 @@
struct apply_impl;
#define BOOST_PROTO_DEFINE_META_COMPILE(z, n, data)\
- typename meta::compile_if<typename
BOOST_PP_CAT(BOOST_PP_CAT(Expr::arg, n), _type), State, Visitor,
DomainTag>::type
+ typename result_of::compile_if<typename
BOOST_PP_CAT(BOOST_PP_CAT(Expr::arg, n), _type), State, Visitor,
DomainTag>::type
#define BOOST_PROTO_DEFINE_COMPILE(z, n, data)\
proto::compile_if(BOOST_PP_CAT(expr.arg, n), state, visitor,
DomainTag())
Index: transform.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/compiler/transform.hpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- transform.hpp 21 Dec 2006 03:51:42 -0000 1.12
+++ transform.hpp 3 Feb 2007 00:14:33 -0000 1.13
@@ -57,7 +57,7 @@
template<typename Expr, typename State, typename Visitor>
struct apply
{
- typedef typename meta::compile
+ typedef typename result_of::compile
<
typename Lambda::BOOST_NESTED_TEMPLATE apply<Expr, State,
Visitor>::type
, State
@@ -99,7 +99,7 @@
template<typename Expr, typename, typename>
struct apply
{
- typedef typename meta::arg<Expr>::type type;
+ typedef typename result_of::arg<Expr>::type type;
};
template<typename Expr, typename State, typename Visitor>
@@ -117,7 +117,7 @@
template<typename Expr, typename, typename>
struct apply
{
- typedef typename meta::left<Expr>::type type;
+ typedef typename result_of::left<Expr>::type type;
};
template<typename Expr, typename State, typename Visitor>
@@ -135,7 +135,7 @@
template<typename Expr, typename, typename>
struct apply
{
- typedef typename meta::right<Expr>::type type;
+ typedef typename result_of::right<Expr>::type type;
};
template<typename Expr, typename State, typename Visitor>
@@ -155,14 +155,14 @@
template<typename Expr, typename, typename>
struct apply
{
- typedef typename meta::unary_expr<Tag, Expr>::type type;
+ typedef typename unary_expr<Tag, Expr>::type type;
};
template<typename Expr, typename State, typename Visitor>
- static typename meta::unary_expr<Tag, Expr>::type
+ static typename unary_expr<Tag, Expr>::type
call(Expr const &expr, State const &, Visitor &)
{
- typename meta::unary_expr<Tag, Expr>::type that = {expr};
+ typename unary_expr<Tag, Expr>::type that = {expr};
return that;
}
};
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs