Boost logo

Boost Users :

Subject: Re: [Boost-users] Writing an inline nullary function object?
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2010-12-02 04:51:08


On Thu, Dec 2, 2010 at 9:36 AM, Kamil Zubair <kamilzubair_at_[hidden]> wrote:

> Using lambda::var is a good trick. I usually used this:
>
> bind(ref, x)
>
> It works, but I always find it kind a ugly.
> Thanks for the pointer :)
>
> --- Pada *Rab, 1/12/10, Robert Jones <robertgbjones_at_[hidden]>* menulis:
>

Actually I kinda like your version, that was exactly the
incantation I'd been looking for, as I'd prefer not to pull
in the Lambda headers.

Thx

- Rob.



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