
16 May
2003
16 May
'03
11:57 p.m.
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