|
Boost : |
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-09-23 16:44:27
On Sep 22, 2004, at 10:59 AM, Dave Deakins wrote:
> I think there should be an 'it->slot_assigned = true;' somewhere
> towards the
> end of named_slot_map::insert, but since slot_assigned is a private
> member
> of named_slot_map_iterator::impl, you'd have to make named_slot_map be
> a
> friend or else it won't give you access. You could also make the impl
> object with the constructor that lets you set up all 4 members, rather
> than
> default constructing it and assigning the members by hand, but I didn't
> think through whether or not this method could leak resources in the
> event
> of an exception in the insert function.
>
> Does it seem like this could be related to the crashes that were
> showing up?
You are absolutely correct. I've corrected the behavior, and all
Signals tests now pass on Linux. Thank you!
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk