|
Boost Users : |
Subject: Re: [Boost-users] Strange issue with boost::date_time
From: Igor R (boost.lists_at_[hidden])
Date: 2009-04-15 13:25:55
> Bad if the vector resizes and moves them elsewhere
std::vector guarantees that its elements are stored in a contiguous
memory block, so it definitely moves the data on resize and
invalidates iterators.
> I changed from /MT to /MD compiles as per Neil's suggestion and the crash moved to a slightly later new call.
This strengthens the assumption that you've got a heap corruption.
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