[Boost-bugs] [Boost C++ Libraries] #8148: mpl::is_lambda_expression bug

Subject: [Boost-bugs] [Boost C++ Libraries] #8148: mpl::is_lambda_expression bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-22 23:03:46


#8148: mpl::is_lambda_expression bug
---------------------------------------------------------+------------------
 Reporter: James Hirschorn <James.Hirschorn@…> | Owner: agurtovoy
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpl
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: is_lambda_expression |
---------------------------------------------------------+------------------
 The metafunction boost::mpl::is_lambda_expression does not work correctly.

 My attached code example give a metafunction class for which
 is_lambda_expression evaluates as false.

 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.

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8148>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC