[Boost-bugs] [Boost C++ Libraries] #1142: boost/serialization/optional doesn't include necessary header

Subject: [Boost-bugs] [Boost C++ Libraries] #1142: boost/serialization/optional doesn't include necessary header
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-05 23:27:05


#1142: boost/serialization/optional doesn't include necessary header
-------------------------------------+--------------------------------------
 Reporter: ben.carlyle_at_[hidden] | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.34.1 | Severity: Regression
 Keywords: |
-------------------------------------+--------------------------------------
 The following function refers to version<T>::value without an include of
 boost/serialization/version.hpp, resulting in user code that won't
 compile. It is possible to work around this problem by including
 boost/serialization/version.hpp before including
 boost/serialization/optional.hpp. I did not require a work-around with
 boost 1.32.0, but both 1.34.0 and 1.34.1 appear to need the work-around.

 {{{
 template<class Archive, class T>
 void save(
     Archive & ar,
     const boost::optional<T> & t,
     const unsigned int /*version*/
 )
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1142>
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:49:56 UTC