
On Wed, Mar 12, 2008 at 5:22 PM, Stjepan Rajko <stipe@asu.edu> wrote:
This sounds like exactly what I want. However, I am not able to find out what header file bind_mem_fn is. I also do not have a 'dataflow'
On Wed, Mar 12, 2008 at 3:00 PM, Robert Dailey <rcdailey@gmail.com> wrote: directory
in boost. I'm using boost 1.34.1. Where can I find this? Thanks.
The dataflow library is not in boost yet - I only recently requested a review.
I think the following two files should do it (you can get them from the boost sandbox svn):
http://svn.boost.org/svn/boost/sandbox/SOC/2007/signals/boost/dataflow/utili...
http://svn.boost.org/svn/boost/sandbox/SOC/2007/signals/boost/dataflow/utili...
I've only been testing this with boost trunk, on GCC 4.0.1 (OS X) and MSVC8. I think these two files might also work with a release version of boost, but I'm not sure. Please let me know how it goes for you.
This will not work because of this line in bind_mem_fn.hpp: #include <boost/function_types/function_arity.hpp> function_types is not in 1.34.1 :(