|
Boost Users : |
Subject: Re: [Boost-users] Runtime identity
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-12-01 14:44:25
AMDG
On 12/1/2010 1:00 AM, Robert Jones wrote:
> Thx Steven - as usual exactly the right answer to the question.
>
> I however have realised I'm asking completely the wrong question. What I in
> fact
> want to do is to create on the fly a nullary function object which returns a
> constant
> value.
>
> Possibly this is what lambda::constant does?
Yep.
In Christ,
Steven Watanabe
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