Boost logo

Boost :

From: Steven Ketcham (sketcham_at_[hidden])
Date: 2003-01-14 09:22:37


MSVC 6.0

typedef boost::function0<void> CallBackFunctionEmpty;
CallBackFunctionEmpty f = boost::bind(&MyClass::SomeFunction,
classInstance);

The destructor of MyClass is called multiple times.
Is this correct?

Thnaks!


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