$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Phoenix] Can we use boost::phoenix::function<Impl const&>?
From: TONGARI (tongari95_at_[hidden])
Date: 2011-05-06 06:14:10
Greetings,
The intuitive way to make a PFO having state is letting
boost::phoenix::function
hold the impl's reference, however, the following does not work.
struct Impl
{
...defines a functor having state...
};
Impl impl;
boost::phoenix::function<Impl const&> f(impl);
f(...lazy call...); // should return an actor here, but not compiles
Is this intended behavior?