Boost logo

Boost :

Subject: Re: [boost] [serialization] problems implementing free-standingfunctions
From: Daniel Wallin (daniel_at_[hidden])
Date: 2009-03-02 05:18:04


Thorsten Ottosen wrote:
> Robert Ramey skrev:
>> Try removing the code from the "detail" namespace.
>
> I renamed the functions, so they are not called load(). But it did not
> help.
>
> The compiler gives me this error:
>
> d:\boost\trunk\boost/serialization/access.hpp(109) : error C2039:
> 'serialize' :
> is not a member of 'boost::auto_buffer<T>'
>
> Why does the library look for that function?

Your include guard is broken:

  #ifdef BOOST_UTILITY_AUTO_BUFFER_SERIZLIZATION_HPP_01_03_2009

:)

-- 
Daniel Wallin
BoostPro Computing
http://www.boostpro.com

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