Boost logo

Boost :

Subject: Re: [boost] [serialization] problems implementing free-standingfunctions
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-03-02 12:48:57


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);
}

Robert Ramey


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