polymorphic_binary_iarchive.cpp 973 B

123456789101112131415161718192021222324252627282930
  1. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  2. // polymorphic_binary_iarchive.cpp:
  3. // (C) Copyright 2018 Robert Ramey - http://www.rrsd.com .
  4. // Use, modification and distribution is subject to the Boost Software
  5. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org for updates, documentation, and revision history.
  8. #if (defined _MSC_VER) && (_MSC_VER == 1200)
  9. # pragma warning (disable : 4786) // too long name, harmless warning
  10. #endif
  11. #define BOOST_ARCHIVE_SOURCE
  12. #include <boost/serialization/config.hpp>
  13. #include <boost/archive/polymorphic_binary_iarchive.hpp>
  14. // explicitly instantiate for this type of text stream
  15. #include <boost/archive/impl/archive_serializer_map.ipp>
  16. namespace boost {
  17. namespace archive {
  18. namespace detail {
  19. template class archive_serializer_map<polymorphic_binary_iarchive>;
  20. } // detail
  21. } // archive
  22. } // boost