|
Boost : |
From: Joel (joel_at_[hidden])
Date: 2004-11-26 20:50:02
David Abrahams wrote:
> Joel de Guzman <joel_at_[hidden]> writes:
>
>
>>Hi,
>>
>>Hi. Here's a preview of Phoenix V2. This will probably be the last
>>release of the library. Phoenix V2 will be the basis of the Phoenix
>>and Boost.Lambda merger.
>
>
>
> val(3)
> val("Hello, World")
>
> The first evaluates to a nullary function (a function taking no
> arguments) that returns an int, 3. The second evaluates to a nullary
> function that returns a char const*, "Hello, World".
>
> Really? I'd have expected a char const(&)[13]. No?
You are right of course. My bad! Fixed.
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk