Difference between std::bind and boost::bind with polymorphism
问题 I have a derived class from which I bind a virtual function that I did not override in this class, so I'm hoping to call the one of the parent class. It works nice with boost (1.55), but if I switch to std::bind from C++11, it refuse to compile with error C2100: illegal indirection 1> functional(1152) : see reference to function template instantiation '_Rx std::_Pmf_wrap<_Pmf_t,_Rx,_Farg0,_V0_t,_V1_t,_V2_t,_V3_t,_V4_t,_V5_t,>::operator ()(_Wrapper &) const' being compiled 1> with 1> [ 1> _Rx