Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-07-08 14:05:12


class my_class { };

void (my_class::*foo)();

foo fighters;

boost::shared_ptr<my_class> p;



does not compile, but


does. Is this by design, or possibly an oversight? The .get() form
works, but it would be nicer if shared_ptr handled the "native" form
automagically (yes, this is from real code...I'm not asking for
superfluous reasons...of course, the names have been changed to
protect the innocent).


Boost list run by bdawes at, gregod at, cpdaniel at, john at