On Thu, 2006-12-07 at 16:17 +0000, Steven Shaw wrote:
> bind2nd(mem_fun_ref(&DeliveryRecord::discard), 0));

Try this: 

bind2nd(mem_fun_ref(&DeliveryRecord::discard),
static_cast<qpid::broker::TransactionContext*>(0)));

Instantiated with 0 the template asssumes the second arg is int, which
may be causing the clash. boost::bind is generally easier to use for
this.

Reply via email to