|
Boost : |
From: Ilya Shvetsov (shvetsov_at_[hidden])
Date: 2004-10-29 01:47:00
Hi All!
This program demostrate the problem
<code>
#include <boost/multi_container_index.hpp>
#include <boost/multi_index/ordered_index.hpp>
int main(int argc, char* argv[]
typedef boost::multi_index::multi_index_container<int> int_set;
int_set s;
int_set::iterator itr = s.begin();
++itr;
return 0;
}
</code>
Program hangs up in increment if s is empty. I undestand that this is my
problem. But may be "assert" can be inserted for such cases
-- Ilya Shvetsov KranX Productions
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk