Boost Users :
Subject: Re: [Boost-users] pointer to member function of multi_index
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2009-03-18 21:20:50
On Wed, Mar 18, 2009 at 5:47 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> Sandeep Gupta wrote:
>> On Wed, Mar 18, 2009 at 3:18 PM, Steven Watanabe <watanabesj_at_[hidden]>
>>> phoenix::function doesn't need bind:
>>> phoenix::push_back(phoenix::ref(myvec), arg1)(5);
>> Thanks Steven,. Unfortunately, this also fails. Below is the error.
> Whoops. The function object generated by phoenix doesn't take
> int x = 5;
> phoenix::push_back(phoenix::ref(myvec), arg1)(x);
Works perfectly now. As always, I really appreciate all your help and
taking trouble to look over even the trivial mistakes.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net