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-09 04:47:22
#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 marshall):
Compiling with TOT clang, I get (after trimming a long traceback):
{{{
In file included from junk.cpp:6:
In file included from
/Marshall/Sources/boost/release/boost/lambda/lambda.hpp:14:
In file included from
/Marshall/Sources/boost/release/boost/lambda/core.hpp:48:
/Marshall/Sources/boost/release/boost/lambda/detail/function_adaptors.hpp:264:12:
error: binding of reference to type 'int' to a value of type 'int
const' drops qualifiers
return o.*data;
^~~~~~~
}}}
and the workaround suggested by Pavel doesn't seem to help with clang++,
btw.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4962#comment:2> 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