Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/serialization/split_member.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
1 #ifndef BOOST_SERIALIZATION_SPLIT_MEMBER_HPP | 1 #ifndef BOOST_SERIALIZATION_SPLIT_MEMBER_HPP |
2 #define BOOST_SERIALIZATION_SPLIT_MEMBER_HPP | 2 #define BOOST_SERIALIZATION_SPLIT_MEMBER_HPP |
3 | 3 |
4 // MS compatible compilers support #pragma once | 4 // MS compatible compilers support #pragma once |
5 #if defined(_MSC_VER) && (_MSC_VER >= 1020) | 5 #if defined(_MSC_VER) |
6 # pragma once | 6 # pragma once |
7 #endif | 7 #endif |
8 | 8 |
9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 | 9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
10 // split_member.hpp: | 10 // split_member.hpp: |
59 | 59 |
60 template<class Archive, class T> | 60 template<class Archive, class T> |
61 inline void split_member( | 61 inline void split_member( |
62 Archive & ar, T & t, const unsigned int file_version | 62 Archive & ar, T & t, const unsigned int file_version |
63 ){ | 63 ){ |
64 typedef BOOST_DEDUCED_TYPENAME mpl::eval_if< | 64 typedef typename mpl::eval_if< |
65 BOOST_DEDUCED_TYPENAME Archive::is_saving, | 65 typename Archive::is_saving, |
66 mpl::identity<detail::member_saver<Archive, T> >, | 66 mpl::identity<detail::member_saver<Archive, T> >, |
67 mpl::identity<detail::member_loader<Archive, T> > | 67 mpl::identity<detail::member_loader<Archive, T> > |
68 >::type typex; | 68 >::type typex; |
69 typex::invoke(ar, t, file_version); | 69 typex::invoke(ar, t, file_version); |
70 } | 70 } |