Update of /cvsroot/boost/boost/boost/xpressive/proto
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10193
Modified Files:
proto_fwd.hpp
Log Message:
callable_context's fallback is configurable
Index: proto_fwd.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/proto_fwd.hpp,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- proto_fwd.hpp 28 Jun 2007 02:29:19 -0000 1.82
+++ proto_fwd.hpp 1 Jul 2007 07:43:05 -0000 1.83
@@ -49,6 +49,9 @@
{
namespace detail
{
+ typedef char yes_type;
+ typedef char (&no_type)[2];
+
struct dont_care
{
dont_care(...);
@@ -198,7 +201,7 @@
struct default_context;
- template<typename Derived>
+ template<typename Derived, typename DefaultCtx = default_context>
struct callable_context;
template<typename T, typename Domain = default_domain>
@@ -365,11 +368,11 @@
{
namespace detail
{
+ using proto::detail::yes_type;
+ using proto::detail::no_type;
+
struct default_factory;
- typedef char yes_type;
- typedef char (&no_type)[2];
-
no_type is_placeholder_expression_fun(...);
template<typename T>
-------------------------------------------------------------------------
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