Boost logo

Boost Users :

Subject: Re: [Boost-users] pointer to member function of multi_index
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2009-03-18 14:53:08

On Tue, Mar 17, 2009 at 8:40 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> Sandeep Gupta wrote:
>> On Tue, Mar 17, 2009 at 7:57 PM, Steven Watanabe <watanabesj_at_[hidden]>
>> wrote:
>>> However, it is not usually a good idea to rely on the exact
>>> signature of library member functions.  For instance, the standard
>>> library allows member functions to have extra default arguments.
>>> In the case of multi_index, using a reference to const will not
>>> always work because multi_index uses call_traits
>> I see. So I take it that its  best to avoid creating function objects
>> or pointer to standard library member functions.
> It's okay to create a function objects like those in phoenix
> as long as you don't bind a member pointer in the process.
Hi Steve,
 Would trouble you for one more clarification regarding this issue.
How do we go about binding overloaded member functions without
specifying exact signature. From what I could gather to adapt
overloaded functions we need the full signature.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at