$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Bind] bind to member functions
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-01-26 12:01:51
Hello,
this works fine,
struct A {
 template< typename X >
 void f( bool ) {
  bind(&A::f<X>, this, _1)( true );
 }
};
whereas
template< typename Z >
struct A {
 template< typename X >
 void f( bool ) {
  bind(&A<Z>::f<X>, this, _1)( true );
 }
};
gives me trouble in the at the line of bind form of "expected
primary-expression before â>â token". I've tried numerous typedefs, but
that didn't do the trick.
Many thanks in advance for help on this,
Rutger