$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [bind] static member function binding
From: Stefan Strasser (strasser_at_[hidden])
Date: 2010-06-15 05:43:08
Hi,
does Boost.Bind contain anything to create a function object that is
statically bound to a member function?
IIUC all function objects created by bind contain a function pointer,
so they have overhead compared to a manual function object.
something like:
struct A{ void f(); }
A *a;
bind<void (A::*)(),&A::f>(a);
-> function object bound to "a", calling A::f