Boost logo

Boost Users :

Subject: Re: [Boost-users] [Bind] bind to member functions
From: Olaf Krzikalla (krzikalla_at_[hidden])
Date: 2009-01-26 12:13:31


Rutger ter Borg wrote:
> template< typename Z >
> struct A {
> template< typename X >
> void f( bool ) {
> bind(&A<Z>::f<X>, this, _1)( true );
> }
> };

Untested:

bind(&A<Z>::template f<X>, this, _1)( true );

Best regards
Olaf Krzikalla


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