Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64555 - branches/release/boost/archive
From: ramey_at_[hidden]
Date: 2010-08-02 17:43:27


Author: ramey
Date: 2010-08-02 17:43:26 EDT (Mon, 02 Aug 2010)
New Revision: 64555
URL: http://svn.boost.org/trac/boost/changeset/64555

Log:
merge final difference to release
Properties modified:
   branches/release/boost/archive/basic_archive.hpp (contents, props changed)
Text files modified:
   branches/release/boost/archive/basic_archive.hpp | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: branches/release/boost/archive/basic_archive.hpp
==============================================================================
--- branches/release/boost/archive/basic_archive.hpp (original)
+++ branches/release/boost/archive/basic_archive.hpp 2010-08-02 17:43:26 EDT (Mon, 02 Aug 2010)
@@ -74,10 +74,11 @@
 
 class version_type {
 private:
- typedef unsigned int base_type;
+ typedef uint_least32_t base_type;
     base_type t;
- version_type(): t(0) {};
 public:
+ // should be private - but MPI fails if it's not!!!
+ version_type(): t(0) {};
     explicit version_type(const unsigned int & t_) : t(t_){
         assert(t_ <= boost::integer_traits<base_type>::const_max);
     }
@@ -109,6 +110,7 @@
     typedef int_least16_t base_type;
     base_type t;
 public:
+ // should be private - but then can't use BOOST_STRONG_TYPE below
     class_id_type() : t(0) {};
     explicit class_id_type(const int t_) : t(t_){
         assert(t_ <= boost::integer_traits<base_type>::const_max);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk