|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48973 - trunk/boost/spirit/home/phoenix/operator/detail
From: joel_at_[hidden]
Date: 2008-09-26 08:37:28
Author: djowel
Date: 2008-09-26 08:37:27 EDT (Fri, 26 Sep 2008)
New Revision: 48973
URL: http://svn.boost.org/trac/boost/changeset/48973
Log:
fixed bug. missing specialization for nullary version.
Text files modified:
trunk/boost/spirit/home/phoenix/operator/detail/mem_fun_ptr_return.hpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/boost/spirit/home/phoenix/operator/detail/mem_fun_ptr_return.hpp
==============================================================================
--- trunk/boost/spirit/home/phoenix/operator/detail/mem_fun_ptr_return.hpp (original)
+++ trunk/boost/spirit/home/phoenix/operator/detail/mem_fun_ptr_return.hpp 2008-09-26 08:37:27 EDT (Fri, 26 Sep 2008)
@@ -25,6 +25,12 @@
{
typedef Ret type;
};
+
+ template<typename Ret, typename Class>
+ struct mem_fun_ptr_return<Ret (Class::*)() const>
+ {
+ typedef Ret type;
+ };
#define BOOST_PP_ITERATION_PARAMS_1 \
(3, (1, PHOENIX_MEMBER_LIMIT, "boost/spirit/home/phoenix/operator/detail/mem_fun_ptr_return.hpp"))
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