Boost logo

Boost :

From: simon meiklejohn (simon_at_[hidden])
Date: 2005-12-24 13:59:03


running a debug build of one of your examples in
vc8.0 (visual studio beta 2) asserts
"list iterators incompatible"
from a calling location in hash_map.hpp
// Insert a new entry into the map.
std::pair<iterator, bool> insert(const value_type& v)
{
   size_t bucket = boost::hash_value(v.first) % num_buckets;
   iterator it = buckets_[bucket].first;
   if (it == values_.end() ) <--- asserts

Probably just "Safe" C++ library getting in the way. Anyone
know a way to disable this checking?

Simon




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk