1 | |
2 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
3 | // dll_a.cpp |
4 | |
5 | // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . |
6 | // Use, modification and distribution is subject to the Boost Software |
7 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
8 | // http://www.boost.org/LICENSE_1_0.txt) |
9 | |
10 | // Build a dll which contains the serialization for a class A |
11 | // used in testing distribution of serialization code in DLLS |
12 | |
13 | #define A_EXPORT |
14 | #include "A.hpp" |
15 | #include "A.ipp" |
16 | #include "A.cpp" |
17 | |
18 | // instantiate code for text archives |
19 | |
20 | #include <boost/archive/text_oarchive.hpp> |
21 | #include <boost/archive/text_iarchive.hpp> |
22 | |
23 | template |
24 | A_DLL_DECL void A::serialize( |
25 | boost::archive::text_oarchive &ar, |
26 | const unsigned int /* file_version */ |
27 | ); |
28 | template |
29 | A_DLL_DECL void A::serialize( |
30 | boost::archive::text_iarchive &ar, |
31 | const unsigned int /* file_version */ |
32 | ); |
33 | |
34 | // instantiate code for polymorphic archives |
35 | |
36 | #include <boost/archive/polymorphic_oarchive.hpp> |
37 | #include <boost/archive/polymorphic_iarchive.hpp> |
38 | |
39 | template |
40 | A_DLL_DECL void A::serialize( |
41 | boost::archive::polymorphic_oarchive &, |
42 | const unsigned int /* file_version */ |
43 | ); |
44 | template |
45 | A_DLL_DECL void A::serialize( |
46 | boost::archive::polymorphic_iarchive &, |
47 | const unsigned int /* file_version */ |
48 | ); |
49 | |
50 | |