|
Boost-Commit : |
From: joel_at_[hidden]
Date: 2008-04-24 18:13:32
Author: djowel
Date: 2008-04-24 18:13:32 EDT (Thu, 24 Apr 2008)
New Revision: 44755
URL: http://svn.boost.org/trac/boost/changeset/44755
Log:
added nullary function support
Text files modified:
trunk/boost/spirit/home/support/detail/action_dispatch.hpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/boost/spirit/home/support/detail/action_dispatch.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/action_dispatch.hpp (original)
+++ trunk/boost/spirit/home/support/detail/action_dispatch.hpp 2008-04-24 18:13:32 EDT (Thu, 24 Apr 2008)
@@ -59,6 +59,13 @@
return true;
}
+ template <typename RT, typename Attribute, typename Context>
+ bool action_dispatch(RT(*f)()
+ , Attribute& attr, Context& context)
+ {
+ f();
+ return true;
+ }
}}}
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk