| Line | |
|---|
| 1 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
|---|
| 2 | // test_traits_pass.cpp: test implementation level trait |
|---|
| 3 | |
|---|
| 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) |
|---|
| 8 | |
|---|
| 9 | // compile test for traits |
|---|
| 10 | #include "test_tools.hpp" |
|---|
| 11 | #include <boost/preprocessor/stringize.hpp> |
|---|
| 12 | #include BOOST_PP_STRINGIZE(BOOST_ARCHIVE_TEST) |
|---|
| 13 | |
|---|
| 14 | #include <boost/serialization/level.hpp> |
|---|
| 15 | #include <boost/serialization/tracking.hpp> |
|---|
| 16 | #include <boost/serialization/version.hpp> |
|---|
| 17 | |
|---|
| 18 | class B |
|---|
| 19 | { |
|---|
| 20 | }; |
|---|
| 21 | |
|---|
| 22 | BOOST_CLASS_IMPLEMENTATION(B, boost::serialization::object_class_info) |
|---|
| 23 | BOOST_CLASS_VERSION(B, 2) |
|---|
| 24 | BOOST_CLASS_TRACKING(B, boost::serialization::track_always) |
|---|
| 25 | |
|---|
| 26 | int |
|---|
| 27 | test_main( int argc, char* argv[] ) |
|---|
| 28 | { |
|---|
| 29 | return EXIT_SUCCESS; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | // EOF |
|---|
Note: See
TracBrowser
for help on using the repository browser.