|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69904 - branches/msm/v2_30/boost/msm/lpp
From: christophe.j.henry_at_[hidden]
Date: 2011-03-12 18:04:14
Author: chenry
Date: 2011-03-12 18:04:13 EST (Sat, 12 Mar 2011)
New Revision: 69904
URL: http://svn.boost.org/trac/boost/changeset/69904
Log:
improved error message
Text files modified:
branches/msm/v2_30/boost/msm/lpp/common_types.hpp | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
Modified: branches/msm/v2_30/boost/msm/lpp/common_types.hpp
==============================================================================
--- branches/msm/v2_30/boost/msm/lpp/common_types.hpp (original)
+++ branches/msm/v2_30/boost/msm/lpp/common_types.hpp 2011-03-12 18:04:13 EST (Sat, 12 Mar 2011)
@@ -334,6 +334,14 @@
struct placeholder<1>
{
template<class Sig> struct result;
+
+ template<class This,class B, class A0>
+ struct result<This(B& block,A0& a0)>
+ {
+ struct INCORRECT_ARITY_FOR_LAMBDA {};
+ typedef INCORRECT_ARITY_FOR_LAMBDA type;
+ };
+
template<class This,class B, class A0, class A1>
struct result<This(B& block,A0& a0,A1& a1)>
{
@@ -346,7 +354,6 @@
typename boost::result_of<placeholder<1>(B&,A0&)>::type
operator ()(B&,A0 &a0) const
{
- //TODO error
}
template<typename B,typename A0, typename A1>
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