Boost logo

Boost Users :

Subject: [Boost-users] template typedef?
From: Roland Bock (rbock_at_[hidden])
Date: 2010-03-26 03:42:51


Hi,

I wonder if there is some easy way to express the following incorrect
code in a correct way?

typedef template<class T> boost::function<void(const T&)> foo_function;

template<> foo_function<int> my_foo = bind(example_function);

Regards,

Roland


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net