On Tue, Mar 17, 2009 at 8:40 PM, Steven Watanabe
AMDG
Sandeep Gupta wrote:
On Tue, Mar 17, 2009 at 7:57 PM, Steven Watanabe
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 http://www.boost.org/libs/spirit/phoenix/doc/html/phoenix/container.html 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. Thanks sandeep