source: NonGTP/Boost/boost/archive/detail/known_archive_types_fwd.hpp @ 857

Revision 857, 1.2 KB checked in by igarcia, 18 years ago (diff)
Line 
1#ifndef BOOST_ARCHIVE_KNOWN_ARCHIVE_TYPES_FWD_HPP
2#define BOOST_ARCHIVE_KNOWN_ARCHIVE_TYPES_FWD_HPP
3
4// MS compatible compilers support #pragma once
5#if defined(_MSC_VER) && (_MSC_VER >= 1020)
6# pragma once
7#endif
8
9/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10// known_archive_types_fwd.hpp: set traits of classes to be serialized
11
12// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
13// Use, modification and distribution is subject to the Boost Software
14// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
15// http://www.boost.org/LICENSE_1_0.txt)
16
17//  See http://www.boost.org for updates, documentation, and revision history.
18
19// list of archive type shipped with the serialization system
20
21#include <boost/mpl/list.hpp>
22
23namespace boost {
24namespace archive {
25namespace detail {
26
27// default implementation of known_archive_types list - 0 elements
28// used to generate warning when a polymporhic pointer is serialized
29// to an unknown archive - export would otherwise fail silently
30template<bool>
31struct known_archive_types {
32    typedef mpl::list<> type;
33};
34
35} // namespace detail
36} // namespace archive
37} // namespace boost
38
39#endif // BOOST_ARCHIVE_KNOWN_ARCHIVE_TYPES_FWD
Note: See TracBrowser for help on using the repository browser.