Boost logo

Boost :

Subject: Re: [boost] [serialization] problems implementing free-standingfunctions
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-03-02 13:06:41


Hi Robert,

Robert Ramey skrev:
> Move serialize out of the detail namespace.
>
> replace
> ...
> template<class Archive, class T, unsigned N, class Allocator>
> inline void serialize(Archive& ar, auto_buffer<T, N, Allocator>& c,
> const unsigned int version)
> {
> boost::serialization::split_free(ar, c, version);
> }
> }
>
> with
>
> ...
> }
> template<class Archive, class T, unsigned N, class Allocator>
> inline void serialize(Archive& ar, auto_buffer<T, N, Allocator>& c, const
> unsigned int version)
> {
> boost::serialization::split_free(ar, c, version);
> }

What is this the answer for? Does it answer how I make use of the
optmized array code already in Boost.Serialization?

-Thorsten

PS. I've atatched the code that know actually compiles.




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