Boost logo

Boost Users :

Subject: Re: [Boost-users] Persisting __int64 (or long long) with boost::serialization?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-19 17:43:59


AMDG

Sandy Walsh wrote:
> Sorry for the n00b question, but I'm trying to serialize some unsigned
> __int64 member variables using boost::serialization.
>
> I added the following to my header:
>
> namespace boost
> {
> namespace serialization
> {
> template<class Archive>
> void load(Archive & ar, unsigned __int64& big, const unsigned
> int version) ;
>
> template<class Archive>
> void save(Archive & ar, unsigned __int64 big, const unsigned
> int version) ;
> }
> };
>
> But the compiler still complains that it doesn't know how to handle
> that right-hand operand.
>
> Is there something obvious here I'm missing?

See http://tinyurl.com/oqwk3v.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net