[Boost-bugs] [Boost C++ Libraries] #8580: boost.serialization documentation missing void

Subject: [Boost-bugs] [Boost C++ Libraries] #8580: boost.serialization documentation missing void
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-17 10:30:12


#8580: boost.serialization documentation missing void
----------------------------------------------------------+-----------------
 Reporter: Mateusz Niemojewski <mateusz@…> | Owner: ramey
     Type: Patches | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
----------------------------------------------------------+-----------------
 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;
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8580>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC