22 May
2015
22 May
'15
11:12 a.m.
Nicolas FRANCOIS wrote:
#include
#include struct A { void f(int&, std::vector
&); }; int main(){ A a; auto f = boost::bind(&A:f, &a, _1, _2); }
results in error C2664: cannot convert from 'const std::vector
&' to 'std::vector &'
This code (after #include <vector> and A:f -> A::f) works for me under VS2013 and the current develop branch. What compiler are you using?