
13 Mar
2004
13 Mar
'04
6:34 p.m.
David Abrahams wrote:
I keep getting lots of these:
c:\boost\boost\mem_fn.hpp(264) : warning C4180: qualifier applied to function type has no meaning; ignored
Would it be possible for the mem_fn header to #pragma push a warning disabler for MSVC?
These warnings are probably a sign that the data member mem_fn/bind overload is being picked instead of the correct member function overload. They usually indicate a bug in your code. For example, you've used bind(&X::f, _1) but &X::f doesn't take zero arguments.