From: Douglas Gregor (gregod_at_[hidden])
Date: 2004-02-18 09:14:16
On Wednesday 18 February 2004 06:23 am, Pavel Vozenilek wrote:
> [Problem with <bind.hpp> and <function.h> on BCC 6.4]
> I found what;s the cause: <boost/mem_fn.hpp> is included
> by <function.hpp> and so if one writes:
> #include <boost/function.hpp>
> #define BOOST_MEM_FN_ENABLE_FASTCALL
> #include <boost/bind.hpp>
> it results with Bind using differently pre-processed <mem_fn.hpp>
> than it is expected.
> Bellow is solution to produce clean error message
> when this situation happens:
Thanks. Peter, can you commit this or something like it?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk