Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-07 18:33:52


AMDG

James Sutherland wrote:
> <snip>
>
> Is there a way to tell boost::bind to choose the int foo(int i) method
> rather than the "template<class T> void foo" method?

static_cast<int(X::*)(int)>(&X::foo)

In Christ,
Steven Watanabe


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