From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-03-13 13:34:10
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk