Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3076: [multi_index] assertion failure sorting an empty collection in VC10 Beta 1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-25 13:00:40
#3076: [multi_index] assertion failure sorting an empty collection in VC10 Beta 1
----------------------------------------------------------+-----------------
Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: joaquin
Type: Bugs | Status: closed
Milestone: Boost 1.40.0 | Component: multi_index
Version: Boost 1.38.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------------------------------+-----------------
Comment(by joaquin):
Hi Richard,
Thanks for reporting this bug. I've just commited a fix:
https://svn.boost.org/trac/boost/changeset/53246
I'd appreciate if you can have keep an eye on this to
make sure the problems in bimap eventually disappear.
There's one thing in your description of the problem that
puzzles me a bit: you say that std::copy asserts because
the third parameter is NULL, yet it seems to me that
it's entirely ok to invoke
std::copy(first,last,NULL);
as long as first==last and consequently NULL is not
dereferenced. Can you provide me with more info on
the kind of assertion failure you're seeing? Can't it
rather be the expression &*buf that is failing?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3076#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC