]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/serialization/test/multi_shared1.cpp
1 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
2 // test_multi_shared_lib.cpp: test that implementation of extented_type_info
3 // works when using multiple shared libraries
5 // (C) Copyright 2018 Alexander Grund
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)
10 #include <boost/archive/text_oarchive.hpp>
14 template<class Archive
>
15 void serialize(Archive
&, const unsigned int){}
18 BOOST_CLASS_IMPLEMENTATION(X1
, boost::serialization::object_class_info
)
20 BOOST_SYMBOL_EXPORT
bool f(){
21 boost::archive::text_oarchive(std::cout
) & X1();