Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix] lazy function to reference or const reference
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2011-04-04 05:53:16

On Monday, April 04, 2011 10:29:57 AM alfC wrote:
> Hi,
> Is it possible to use references as the type of the function wrapped
> by lazy function. The reason I need this is because I need to
> instatiate a lazy function inside a class and to a class while the
> class does not have yet a complete definition. The application may
> sound exotic but I see no intrinsic limitation why the following
> doesn't work. If this is not possible because an intrinsic limitation
> of phoenix, is there a workaround?

I messed up in the type calculation ;)
Thanks for reporting, the issue is now fixed on trunk.

> -- Thanks -- Alfredo
> ... is_odd_impl is defined as in

Please update your copy of Phoenix. Phoenix V3 is now in the boost trunk, the
sandbox/SOC version will not get fixed anymore.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at