Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2006-12-21 10:28:10


Dear all,

I just typed something like this:

void Foo(void (I::*pmf)())
{
   boost::shared_ptr<I> ptr(new I);
   (ptr->*pmf)();
}

but this does not compile. Is there are rationale behind this? I have no
experience in ovelroading operator->*, so maybe this question arises from
ignorance.

Wkr,
me


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net