$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-11-09 08:30:12
On Nov 9, 2004, at 6:45 AM, Michiel Salters wrote:
> The boost::function template works with boost::ref according to the
> docs,
> so try boost::function< int ( int ) > ( boost::ref( Op() ) )
Or boost::bind:
boost::bind(boost::ref(Op()), _1, _2)
boost::ref should actually do this on its own (according to Library
TR1), but the code to do so is languishing in the sandbox.
Doug