Opened 15 years ago
Closed 15 years ago
#1089 closed Bugs (fixed)
missing boost::serialization::make_nvp in pointer container library
Reported by: | anonymous | Owned by: | Thorsten Ottosen |
---|---|---|---|
Milestone: | To Be Determined | Component: | ptr_container |
Version: | Boost 1.34.0 | Severity: | Problem |
Keywords: | serialization pointer container | Cc: |
Description
The serialization support of the pointer container library is not complete. If one tries to serialize a pointer container (such as ptr_vector<T>, with serializable T) to one of the xml-archive-types compilation will fail in an assertion failure:
boost/archive/basic_xml_oarchive.hpp:83: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’
As stated in the coment in boost/archive/basic_xml_oarchive.hpp this is due to missing nvp-wrappers in all serialization functions at least in boost/ptr_container/detail/reversible_ptr_container.hpp
Change History (4)
comment:1 by , 15 years ago
Owner: | set to |
---|
comment:2 by , 15 years ago
Owner: | removed |
---|
comment:3 by , 15 years ago
Component: | serialization → ptr_container |
---|---|
Owner: | set to |
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Should be fixed in 1.35
-Thorsten