Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/serialization/split_free.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_FREE_HPP | 1 #ifndef BOOST_SERIALIZATION_SPLIT_FREE_HPP |
2 #define BOOST_SERIALIZATION_SPLIT_FREE_HPP | 2 #define BOOST_SERIALIZATION_SPLIT_FREE_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_free.hpp: | 10 // split_free.hpp: |
64 inline void split_free( | 64 inline void split_free( |
65 Archive & ar, | 65 Archive & ar, |
66 T & t, | 66 T & t, |
67 const unsigned int file_version | 67 const unsigned int file_version |
68 ){ | 68 ){ |
69 typedef BOOST_DEDUCED_TYPENAME mpl::eval_if< | 69 typedef typename mpl::eval_if< |
70 BOOST_DEDUCED_TYPENAME Archive::is_saving, | 70 typename Archive::is_saving, |
71 mpl::identity</* detail:: */ free_saver<Archive, T> >, | 71 mpl::identity</* detail:: */ free_saver<Archive, T> >, |
72 mpl::identity</* detail:: */ free_loader<Archive, T> > | 72 mpl::identity</* detail:: */ free_loader<Archive, T> > |
73 >::type typex; | 73 >::type typex; |
74 typex::invoke(ar, t, file_version); | 74 typex::invoke(ar, t, file_version); |
75 } | 75 } |