Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-11-26 11:31:27


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?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk