$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-11-13 08:09:51
On 11/13/07, Olivier Tournaire <olitour_at_[hidden]> wrote:
>
> Yep, that what I tried, but it does not work. The compiler error is
> described below.
This is really strange. This code compiles fine:
typedef bool (Profile::*mem_fcn)(boost::shared_ptr< TTImage <unsigned
char> >, eInterpolatorType);
mem_fcn f = &Profile::template ComputeRadiometries<unsigned char>;
and the doc example states for member functions:
boost::function<int (X*, int)> f;
f = &X::foo;
X x;
f(&x, 5);
But I also got errors.
Regards,
Ovanes