I use boost binary serialization and it has worked so far. I have std::listpointers for serialization for output (oarchive), but serialization is not performed inside the serialize () function of the object with the MSVC dialog box:
R6010 -abort() has been called
and such a line is printed in the console window:
Assertion failed: 0 == static_cast<int>(t) || 1 == static_cast<int>(t), file c:\program files\boost\boost_1_44\boost\archive\basic_binary_oprimitive.hpp, line 91
what does it mean?
The project is quite large, the sources are distributed, so I can not publish it here, but I tried to simulate this error as part of a simple project - there it works fine, which is strange.
PS I am using boost 1.44 with MSVC2010EE on Windows XP. When I click "try again" on "Debugging Error!" window debugger shows an arrow on the next line of code to serialize archive << myList;line - I mean, the error occurred in some kind of destructor or something like that. When I make changes to the functions of serialize () objects, they will only be applied when I rebuild the entire project (clean before compiling), but if I just compile it (where the IDE shows that all sources that include the changed header are recompiled) - no changes will occur at run time from the latest version (I tried with printf ()) - this is strange. Can I sometimes give some critical definitions or something else?