Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Boost serialization BOOST_CLASS_EXPORT_GUID in VS C++ project

0.00/5 (No votes)
21 Dec 2010 1  
#include must not be in precompiled header
I wasted some time understanding why BOOST_CLASS_EXPORT_GUID[^]
doesn't work at all.

Don't put #include <boost/serialization/export.hpp>; in the precompiled header file (typically stdafx.h) but in each .cpp file where you need it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here