Opened 14 years ago
Closed 14 years ago
#2933 closed Bugs (invalid)
Serialization: Assertion in archive_pointer_oserializer.ipp failed. ( VC2005)
| Reported by: | Owned by: | Robert Ramey | |
|---|---|---|---|
| Milestone: | Boost 1.39.0 | Component: | serialization |
| Version: | Boost 1.38.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
I hope it's just my lack of knowledge that is the cause of this assertion, but I have reduced the test to pretty minimal example ( attached ) and it seems it 'should' work ?
Attachments (1)
Change History (2)
by , 14 years ago
| Attachment: | SerializationError.cpp added |
|---|
comment:1 by , 14 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

User error
serialization of B doesn't explicitly refer to class C - only it's base Real Base.
Try adding
#include "boost/serialization/export.hpp"
BOOST_CLASS_EXPORT(C);