comparison DEPENDENCIES/generic/include/boost/archive/basic_binary_iarchive.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_ARCHIVE_BASIC_BINARY_IARCHIVE_HPP 1 #ifndef BOOST_ARCHIVE_BASIC_BINARY_IARCHIVE_HPP
2 #define BOOST_ARCHIVE_BASIC_BINARY_IARCHIVE_HPP 2 #define BOOST_ARCHIVE_BASIC_BINARY_IARCHIVE_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 // basic_binary_iarchive.hpp 10 // basic_binary_iarchive.hpp
42 #include <boost/archive/detail/abi_prefix.hpp> // must be the last header 42 #include <boost/archive/detail/abi_prefix.hpp> // must be the last header
43 43
44 namespace boost { 44 namespace boost {
45 namespace archive { 45 namespace archive {
46 46
47 namespace detail {
48 template<class Archive> class interface_iarchive;
49 } // namespace detail
50
47 ///////////////////////////////////////////////////////////////////////// 51 /////////////////////////////////////////////////////////////////////////
48 // class basic_binary_iarchive - read serialized objects from a input binary stream 52 // class basic_binary_iarchive - read serialized objects from a input binary stream
49 template<class Archive> 53 template<class Archive>
50 class basic_binary_iarchive : 54 class basic_binary_iarchive :
51 public detail::common_iarchive<Archive> 55 public detail::common_iarchive<Archive>
52 { 56 {
57 #ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
58 public:
59 #else
53 protected: 60 protected:
54 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) 61 #if BOOST_WORKAROUND(BOOST_MSVC, < 1500)
55 public: 62 // for some inexplicable reason insertion of "class" generates compile erro
56 #elif defined(BOOST_MSVC) 63 // on msvc 7.1
57 // for some inexplicable reason insertion of "class" generates compile erro 64 friend detail::interface_iarchive<Archive>;
58 // on msvc 7.1 65 #else
59 friend detail::interface_iarchive<Archive>; 66 friend class detail::interface_iarchive<Archive>;
60 #else 67 #endif
61 friend class detail::interface_iarchive<Archive>;
62 #endif 68 #endif
63 // intermediate level to support override of operators 69 // intermediate level to support override of operators
64 // fot templates in the absence of partial function 70 // fot templates in the absence of partial function
65 // template ordering. If we get here pass to base class 71 // template ordering. If we get here pass to base class
66 // note extra nonsense to sneak it pass the borland compiers 72 // note extra nonsense to sneak it pass the borland compiers