Boost Users :
Subject: Re: [Boost-users] [boost 1.39][Serialization] BOOST_CLASS_EXPORT_GUID macro failed to compile with C2888 error under MSVS.
From: Vitaly Dolya (vitaly_at_[hidden])
Date: 2009-05-15 18:34:11
Thanks for the response, Robert!
Documentation didn't change a bit about it since boost 1.37, against
which I was able to compile my code.
Quote from the doc
"Note that the implemenation of this functionality requires that the
|BOOST_CLASS_EXPORT| macro appear *after* and the inclusion of any
archive class headers for which code is to be instantiated.
||So, *the best way to use |BOOST_CLASS_EXPORT| is to include it in the
same module which implements the class*."
This is exactly as I did.
This is what I have for standalone exe-application:
Did I miss something?
Robert Ramey wrote:
> Check the documentation regarding BOOST_CLASS_EXPORT and the best place to
> put it.
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