1 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
---|
2 | // xml_iarchive.cpp: |
---|
3 | |
---|
4 | // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . |
---|
5 | // Use, modification and distribution is subject to the Boost Software |
---|
6 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
---|
7 | // http://www.boost.org/LICENSE_1_0.txt) |
---|
8 | |
---|
9 | // See http://www.boost.org for updates, documentation, and revision history. |
---|
10 | |
---|
11 | #if (defined _MSC_VER) && (_MSC_VER == 1200) |
---|
12 | # pragma warning (disable : 4786) // too long name, harmless warning |
---|
13 | #endif |
---|
14 | |
---|
15 | #define BOOST_ARCHIVE_SOURCE |
---|
16 | |
---|
17 | // the following works around an issue between spirit 1.61 and borland. |
---|
18 | // it turns out the the certain spirit stuff must be defined before |
---|
19 | // certain parts of mpl. including this here makes sure that happens |
---|
20 | #include <boost/config.hpp> |
---|
21 | #include <boost/detail/workaround.hpp> |
---|
22 | #if BOOST_WORKAROUND(__BORLANDC__, <= 0x560 ) |
---|
23 | #include <boost/archive/impl/basic_xml_grammar.hpp> |
---|
24 | #endif |
---|
25 | |
---|
26 | #include <boost/archive/xml_iarchive.hpp> |
---|
27 | |
---|
28 | // explicitly instantiate for this type of xml stream |
---|
29 | #include <boost/archive/impl/basic_xml_iarchive.ipp> |
---|
30 | #include <boost/archive/impl/archive_pointer_iserializer.ipp> |
---|
31 | #include <boost/archive/impl/xml_iarchive_impl.ipp> |
---|
32 | |
---|
33 | namespace boost { |
---|
34 | namespace archive { |
---|
35 | |
---|
36 | template class basic_xml_iarchive<xml_iarchive> ; |
---|
37 | template class detail::archive_pointer_iserializer<xml_iarchive> ; |
---|
38 | template class xml_iarchive_impl<xml_iarchive> ; |
---|
39 | |
---|
40 | } // namespace archive |
---|
41 | } // namespace boost |
---|