c*******9 发帖数: 6411 | 1 I have the following existing structure:
in a header file header.h
struct test
{
test();
string a;
...
std::map b;
...
}
the existing code impl.cxx use this structure and work ok, now I modify
the structure as following in the header.h
struct test
{
test();
string a;
string a2;
...
std::map b;
...
}
and it crash now in impl.cxx in the existing code:
test test1;
..
test1.a2 = d; (crash here)
...
EXCEPTION_ACCESS_VIOLATION:
xtree\std::_Tree,std::
allocator >,0> >::insert Line 631
any ideas?
thanks! | S*********g 发帖数: 5298 | 2 problem is in the ... parts
【在 c*******9 的大作中提到】![](/moin_static193/solenoid/img/up.png) : I have the following existing structure: : in a header file header.h : struct test : { : test(); : string a; : ... : std::map b; : ... : }
|
|