Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-06-05 16:11:47


"Terje Slettebø" <tslettebo_at_[hidden]> wrote in message
news:3df901c32b88$77439410$8d6c6f50_at_pc...
[snip]

> int main()
> {
> function_ptr<int (A*, int), &A::a_member> fn;
>
> // The rest the same
>
> A a;
> int r=fn(&a, 3); // sets r to 9
> }
>
Is it similar (in principle) to
http://www.code-genie.com/cpp/articles/events/events.html (long text)?

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk