Update of /cvsroot/boost/boost/boost/xpressive/proto
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4238/proto
Modified Files:
traits.hpp
Log Message:
work-around for code warrior
Index: traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/traits.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- traits.hpp 10 Nov 2006 04:09:38 -0000 1.14
+++ traits.hpp 16 Nov 2006 18:35:22 -0000 1.15
@@ -23,6 +23,9 @@
#include <boost/preprocessor/iteration/iterate.hpp>
#include <boost/preprocessor/repetition/enum.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
+ #include <boost/preprocessor/repetition/enum_trailing_params.hpp>
+ #include <boost/preprocessor/facilities/intercept.hpp>
+ #include <boost/preprocessor/arithmetic/sub.hpp>
namespace boost { namespace proto
{
@@ -437,7 +440,9 @@
#if N > 0
template<BOOST_PP_ENUM_PARAMS(N, typename A)>
- struct function<BOOST_PP_ENUM_PARAMS(N, A)>
+ struct function<
+ BOOST_PP_ENUM_PARAMS(N, A)
+
BOOST_PP_ENUM_TRAILING_PARAMS(BOOST_PP_SUB(BOOST_PROTO_MAX_ARITY, N), void
BOOST_PP_INTERCEPT), void >
{
typedef basic_expr<function_tag, BOOST_PP_CAT(mpl::vector,
N)<BOOST_PP_ENUM_PARAMS(N, A)> > type;
};
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs