[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] [boost::serialization] Cannot export any
From:       "Robert Ramey" <ramey () rrsd ! com>
Date:       2007-01-31 16:18:14
Message-ID: epqfg5$efi$1 () sea ! gmane ! org
[Download RAW message or body]

OK. Let me re-phrase this.

I believe that the only time BOOST_CLASS_EXPORT (or something like it)
should be necessary is when one serializes a derived class through an
abstract pointer.  It has two functions.  First, it ensures that code
which would not be otherwise instantiated is in fact instantiated.  Second,
it relates an externalizable text string to the type being serialized.

Robert Ramey

David Abrahams wrote:
> "Robert Ramey" <ramey@rrsd.com> writes:
>
>> BOOST_CLASS_EXPORT should not be necessary.  It is only
>> used to assign an external name to a type.
>
> That does not correspond to my understanding. 




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic