|
Boost : |
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2008-07-11 13:43:17
Steven Ross wrote:
> An embedded and charset-unspecified text was scrubbed...
> Name: spreadsort.hpp
> URL: <http://lists.boost.org/MailArchives/boost/attachments/20080711/c5ef0f58/attachment.ksh>
(Archive link not working, as usual.)
<vector.h> --> <vector>
vector<> --> std::vector<>
Are you certain that resizing the bins_cache vector when you do is
safe, from the point of view of subsequent iterations of the loop which
continue to use a pointer to the first element from before the resize()?
Phil.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk