]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/serialization/test/test_const_save_warn3_nvp.cpp
1 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
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)
11 #include <boost/archive/text_oarchive.hpp>
12 #include <boost/serialization/nvp.hpp>
14 using namespace boost::archive
;
17 template<class Archive
>
18 void serialize(Archive
& ar
, unsigned int version
) {
22 void f3(text_oarchive
& oa
, const A
* & a
){
23 oa
<< BOOST_SERIALIZATION_NVP(a
);