$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] phoenix::bind
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-10-02 00:25:25
Joel de Guzman wrote:
> {
> int x = 5;
> int r = bind(_1, _2)(unlambda(_1), x);
> BOOST_TEST(x == 5);
----------^^^^^^^^^^^^^^^^^^
Oops:
BOOST_TEST(r == 5);
Regards,
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net