$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2008-07-16 12:23:37
Is it possible to bind to pure virtual methods? Like this
struct S
{
void methodOfS( ) = 0;
};
void f( S & s )
{
using namespace boost :: lambda;
bind( & S :: methodOfS, _1 )( s );
}
My compiler seems to be complaining that s is abstract, which is
surely not a real limitation!
Thanks, Rob.