comparison DEPENDENCIES/generic/include/boost/archive/basic_xml_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_XML_IARCHIVE_HPP 1 #ifndef BOOST_ARCHIVE_BASIC_XML_IARCHIVE_HPP
2 #define BOOST_ARCHIVE_BASIC_XML_IARCHIVE_HPP 2 #define BOOST_ARCHIVE_BASIC_XML_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_xml_iarchive.hpp 10 // basic_xml_iarchive.hpp
35 #endif 35 #endif
36 36
37 namespace boost { 37 namespace boost {
38 namespace archive { 38 namespace archive {
39 39
40 namespace detail {
41 template<class Archive> class interface_iarchive;
42 } // namespace detail
43
40 ///////////////////////////////////////////////////////////////////////// 44 /////////////////////////////////////////////////////////////////////////
41 // class xml_iarchive - read serialized objects from a input text stream 45 // class xml_iarchive - read serialized objects from a input text stream
42 template<class Archive> 46 template<class Archive>
43 class basic_xml_iarchive : 47 class basic_xml_iarchive :
44 public detail::common_iarchive<Archive> 48 public detail::common_iarchive<Archive>
45 { 49 {
50 #ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
51 public:
52 #else
46 protected: 53 protected:
47 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) 54 #if BOOST_WORKAROUND(BOOST_MSVC, < 1500)
48 public: 55 // for some inexplicable reason insertion of "class" generates compile erro
49 #elif defined(BOOST_MSVC) 56 // on msvc 7.1
50 // for some inexplicable reason insertion of "class" generates compile erro 57 friend detail::interface_iarchive<Archive>;
51 // on msvc 7.1 58 #else
52 friend detail::interface_oarchive<Archive>; 59 friend class detail::interface_iarchive<Archive>;
53 #else 60 #endif
54 friend class detail::interface_oarchive<Archive>;
55 #endif 61 #endif
56 unsigned int depth; 62 unsigned int depth;
57 BOOST_ARCHIVE_OR_WARCHIVE_DECL(void) 63 BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
58 load_start(const char *name); 64 load_start(const char *name);
59 BOOST_ARCHIVE_OR_WARCHIVE_DECL(void) 65 BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)