---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
File: d:\program files\microsoft visual studio 9.0\vc\include\xtree
Line: 256
Expression: map/set iterator not dereferencable
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
File: d:\program files\microsoft visual studio 9.0\vc\include\xtree
Line: 256
Expression: map/set iterator not dereferencable
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
用VS2008的库编译总在xtree第256行上抛出异常:
#if _HAS_ITERATOR_DEBUGGING
if (this->_Mycont == 0
|| _Ptr == 0
|| _Ptr == ((_Myt *)this->_Mycont)->_Myhead)
{
_DEBUG_ERROR("map/set iterator not dereferencable");
_SCL_SECURE_OUT_OF_RANGE;
}
去掉
_Ptr == ((_Myt *)this->_Mycont)->_Myhead
或者换VC6.0库则正常