Opened 9 years ago
Closed 9 years ago
#8580 closed Patches (fixed)
boost.serialization documentation missing void
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
In latest boost.serialization documentation:
in first example of: https://svn.boost.org/svn/boost/trunk/libs/serialization/doc/archive_reference.html
There is:
////////////////////////////////////////////////////////// // public interface used by programs that use the // serialization library typedef boost::mpl::bool_<true> is_saving; typedef boost::mpl::bool_<false> is_loading; template<class T> register_type(){} template<class T> trivial_oarchive & operator<<(const T & t){ return *this;
There should be (only void added):
////////////////////////////////////////////////////////// // public interface used by programs that use the // serialization library typedef boost::mpl::bool_<true> is_saving; typedef boost::mpl::bool_<false> is_loading; template<class T> void register_type(){} template<class T> trivial_oarchive & operator<<(const T & t){ return *this;
Note:
See TracTickets
for help on using tickets.
patched in trunk