Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-07-09 13:06:23

Stefan Slapeta wrote:
> Hi all,
> this code sample produces a compiler error on VC 7.1. It seems that
> boost::bind isn't able to get the right type for the specialization of
> the member function template [&Test::g<Type1, Type2>].
> Is there a good workaround? (The only one I could find so far is to
> 'hide' the function template as normal member function in a class
> template.)


    void (Test::*pmf) (Type1, Type2) = &Test::g;

    boost::function<void (Type1, Type2)> bf = boost::bind(pmf, this, one,

Boost list run by bdawes at, gregod at, cpdaniel at, john at