
29 Oct
2004
29 Oct
'04
6:47 a.m.
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