Update of /cvsroot/boost/boost/boost/xpressive/proto/transform
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3520/proto/transform
Modified Files:
construct.hpp
Log Message:
attribute placeholders get real T& instead of opt<T> in actions
Index: construct.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/transform/construct.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- construct.hpp 19 Jun 2007 01:07:11 -0000 1.8
+++ construct.hpp 21 Jun 2007 23:11:11 -0000 1.9
@@ -26,7 +26,16 @@
{
namespace detail
{
- using proto::detail::is_placeholder_expression;
+ template<typename T>
+ struct is_placeholder_expression
+ {
+ BOOST_STATIC_CONSTANT(
+ bool
+ , value =
(sizeof(is_placeholder_expression_fun(static_cast<T*>(0)))==
\
+ sizeof(yes_type))
+ );
+ typedef mpl::bool_<value> type;
+ };
template<typename T, bool HasType = mpl::aux::has_type<T>::value>
struct nested_type
-------------------------------------------------------------------------
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