Boost logo

Boost Users :

From: Chuck Messenger (chuckm_at_[hidden])
Date: 2003-05-16 18:57:31


William E. Kempf wrote:
> Chuck Messenger said:

>>Why the multiple calls to X's destructor? I'd have expected just one.
>>It looks like the signals lib is misbehaving.
>
> No, it's not. X is being destructed as many times as it's being
> constructed. What's missing to help you see this is a user defined copy
> constructor for X.

Oh. Duh. Thanks!

     - Chuck


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