Boost logo

Boost Users :

Subject: Re: [Boost-users] Runtime identity
From: Ravi (lists_ravi_at_[hidden])
Date: 2010-12-04 16:24:17


On Wednesday 01 December 2010 01:00:42 Robert Jones wrote:
> 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?

lambda::constant or phoenix::val.

Ravi


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