Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4962: Return type deduction issue in boost::lambda
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-08 08:20:35
#4962: Return type deduction issue in boost::lambda
----------------------------------+-----------------------------------------
Reporter: pavel.pervov@⦠| Owner: no-maintainer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lambda
Version: Boost 1.45.0 | Severity: Regression
Resolution: | Keywords:
----------------------------------+-----------------------------------------
Comment (by pavel.pervov@â¦):
The workaround for this may be explicit specialisation of
boost::lambda::bind with the desired return type:
{{{
outs << boost::lambda::bind<int>(&MyMap::value_type::second,
boost::lambda::_1) << "\n");
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4962#comment:1> 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:05 UTC