Boost C++ Libraries: Ticket #8148: mpl::is_lambda_expression bug https://svn.boost.org/trac10/ticket/8148 <p> The metafunction boost::mpl::is_lambda_expression does not work correctly. </p> <p> My attached code example give a metafunction class for which is_lambda_expression evaluates as false. </p> <p> While is_lambda_expression is not a documented feature of boost::mpl, it is available in the boost::mpl namespace. Moreover, it is used in the implementation of boost::mpl::transform, and presumably results in unintended behaviour there. </p> <p> The package boost::tti (in the boost/trunk) has boost::tti::detail::is_lambda_expression. I have confirmed that this works correctly on my example (see attached file). The tti author has informed me that tti depends on mpl. Perhaps then, boost::mpl::is_lambda_expression should be replaced by tti's. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8148 Trac 1.4.3 James Hirschorn <James.Hirschorn@…> Fri, 22 Feb 2013 23:05:35 GMT attachment set https://svn.boost.org/trac10/ticket/8148 https://svn.boost.org/trac10/ticket/8148 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">is_lambda_expression_counterexample.cpp</span> </li> </ul> Ticket