Subject: [Boost-bugs] [Boost C++ Libraries] #9661: bind: Convert lost qualifier
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-12 02:50:13
#9661: bind: Convert lost qualifier
--------------------------------------+---------------------
Reporter: Yuan Yao <yaoyuan1216@â¦> | Owner: pdimov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: bind
Version: Boost 1.55.0 | Severity: Problem
Keywords: bind |
--------------------------------------+---------------------
The following code doesn't compile with vs2013. It will be OK if
boost::bind is replaced with std::bind or using less placeholders.
{{{
#include <boost/bind.hpp>
void foo(int&, int, int){}
int main(){
using boost::bind;
int a;
auto&& f = bind(&foo, _1, _2, _3);
f(a, 0, 0);
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9661> 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:15 UTC