001 #ifndef BOOST_SERIALIZATION_TRAITS_HPP
002 #define BOOST_SERIALIZATION_TRAITS_HPP
003
004
005 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
006 # pragma once
007 #endif
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027 #include <boost/config.hpp>
028 #include <boost/static_assert.hpp>
029
030 #include <boost/mpl/int.hpp>
031 #include <boost/serialization/level_enum.hpp>
032 #include <boost/serialization/tracking_enum.hpp>
033
034 namespace boost {
035 namespace serialization {
036
037
038 struct basic_traits {};
039
040 template <class T>
041 struct extended_type_info_impl;
042
043 template<
044 class T,
045 int Level,
046 int Tracking,
047 unsigned int Version = 0,
048 class ETII = extended_type_info_impl< T >
049 >
050 struct traits : public basic_traits {
051 BOOST_STATIC_ASSERT(Version == 0 || Level >= object_class_info);
052 BOOST_STATIC_ASSERT(Tracking == track_never || Level >= object_serializable);
053 typedef BOOST_DEDUCED_TYPENAME mpl::int_<Level> level;
054 typedef BOOST_DEDUCED_TYPENAME mpl::int_<Tracking> tracking;
055 typedef BOOST_DEDUCED_TYPENAME mpl::int_<Version> version;
056 typedef ETII type_info_implementation;
057 };
058
059 }
060 }
061
062 #endif
063
| Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems |
|
This page was automatically generated by the
LXR engine.
|
|