Boost logo

Boost :

From: Marcin Tustin (mt_at_[hidden])
Date: 2005-05-13 04:18:53


        I'm trying to use the serialization and archive libraries, and
I'm having a bit of trouble getting non-intrusive serializaton to work;
I keep getting the error
"c:\boost_1_32_0\boost\serialization\access.hpp(106): error C2039:
'serialize' : is not a member of 'D2::Message'". My guess is that for
some reason the "long int" hack isn't working properly. I have serialize
methods in the boost::seralization namespace like this:

namespace boost {
   namespace serialization {
      template<class Archive >
      static void serialize(Archive & ar, const D2::Message& g, const
unsigned int version)
      {
//...
      }

} };

Which are textually before any use of the library, as far as I can tell.

Any help would be much appreciated.
      
Marcin Tustin
IT Innovation Centre
2 Venture Road
Chilworth Science Park
Southampton, SO16 7NP, UK

tel: +44 23 8076 0834
fax: +44 23 8076 0833

mailto:mt_at_[hidden]
http://www.it-innovation.soton.ac.uk


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk