Boost logo

Boost :

Subject: Re: [boost] [boost::bind] How does it works for overloaded member functions in this example?
From: Alexander Fokin (apfokin_at_[hidden])
Date: 2010-10-01 08:58:04


I believe the signature of bind in boost is a bit more complex than in
your example.

It may go like this:
template<
  class FuncRet,
  class FuncParam0,
  class Param0
>
<unspecified-type>
bind(
  FuncRet (*pf)(FuncParam0),
  Param0 param0
) { ... }

Since the full signature of the function pointer is provided, the
compiler shouldn't have any problems disambiguating.

-- 
Best regards,
  Alexander Fokin, apfokin_at_gmail.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk