test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
templateInstantiations.cc
Go to the documentation of this file.
1 
2 #include "CondFormats/Serialization/interface/eos/portable_iarchive.hpp"
3 #include "CondFormats/Serialization/interface/eos/portable_oarchive.hpp"
4 
5 
6 #ifndef NO_EXPLICIT_TEMPLATE_INSTANTIATION
7 
8 #include <boost/archive/impl/basic_binary_iarchive.ipp>
9 #include <boost/archive/impl/basic_binary_iprimitive.ipp>
10 
11 #if BOOST_VERSION < 104000
12 #include <boost/archive/impl/archive_pointer_iserializer.ipp>
13 #elif !defined BOOST_ARCHIVE_SERIALIZER_INCLUDED
14 #include <boost/archive/impl/archive_serializer_map.ipp>
15 #define BOOST_ARCHIVE_SERIALIZER_INCLUDED
16 #endif
17 
18 namespace boost { namespace archive {
19 
20  // explicitly instantiate for this type of binary stream
21  template class basic_binary_iarchive<eos::portable_iarchive>;
22 
23  template class basic_binary_iprimitive<
24  eos::portable_iarchive
25  #if BOOST_VERSION < 103400
26  , std::istream
27  #else
28  , std::istream::char_type
29  , std::istream::traits_type
30  #endif
31  >;
32 
33 #if BOOST_VERSION < 104000
34  template class detail::archive_pointer_iserializer<eos::portable_iarchive>;
35 #else
36  template class detail::archive_serializer_map<eos::portable_iarchive>;
37  template class detail::archive_serializer_map<eos::polymorphic_portable_iarchive>;
38 #endif
39 
40 } } // namespace boost::archive
41 
42 #endif
43 
44 
45 
46 #ifndef NO_EXPLICIT_TEMPLATE_INSTANTIATION
47 
48 #include <boost/archive/impl/basic_binary_oarchive.ipp>
49 #include <boost/archive/impl/basic_binary_oprimitive.ipp>
50 
51 #if BOOST_VERSION < 104000
52 #include <boost/archive/impl/archive_pointer_oserializer.ipp>
53 #elif !defined BOOST_ARCHIVE_SERIALIZER_INCLUDED
54 #include <boost/archive/impl/archive_serializer_map.ipp>
55 #define BOOST_ARCHIVE_SERIALIZER_INCLUDED
56 #endif
57 
58 namespace boost { namespace archive {
59 
60  // explicitly instantiate for this type of binary stream
61  template class basic_binary_oarchive<eos::portable_oarchive>;
62 
63  template class basic_binary_oprimitive<
64  eos::portable_oarchive
65  #if BOOST_VERSION < 103400
66  , std::ostream
67  #else
68  , std::ostream::char_type
69  , std::ostream::traits_type
70  #endif
71  >;
72 
73 #if BOOST_VERSION < 104000
74  template class detail::archive_pointer_oserializer<eos::portable_oarchive>;
75 #else
76  template class detail::archive_serializer_map<eos::portable_oarchive>;
77  template class detail::archive_serializer_map<eos::polymorphic_portable_oarchive>;
78 #endif
79 
80 } } // namespace boost::archive
81 
82 #endif