1 #ifndef BOOST_SERIALIZATION_EXAMPLE_DEMO_POLYMORPHIC_A_HPP
2 #define BOOST_SERIALIZATION_EXAMPLE_DEMO_POLYMORPHIC_A_HPP
4 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
5 // demo_polymorphic_A.hpp
7 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
8 // Use, modification and distribution is subject to the Boost Software
9 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
15 class polymorphic_iarchive;
16 class polymorphic_oarchive;
18 } // namespace archive
22 // class a contains a pointer to a "hidden" declaration
23 template<class Archive>
26 const unsigned int file_version
31 bool operator==(const A & rhs) const {
32 return data == rhs.data;
39 #endif // BOOST_SERIALIZATION_EXAMPLE_DEMO_POLYMORPHIC_A_HPP