sl@0: #ifndef BOOST_ARCHIVE_BINARY_WOARCHIVE_HPP sl@0: #define BOOST_ARCHIVE_BINARY_WOARCHIVE_HPP sl@0: sl@0: // MS compatible compilers support #pragma once sl@0: #if defined(_MSC_VER) && (_MSC_VER >= 1020) sl@0: # pragma once sl@0: #endif sl@0: sl@0: /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 sl@0: // binary_woarchive.hpp sl@0: sl@0: // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . sl@0: // Use, modification and distribution is subject to the Boost Software sl@0: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // See http://www.boost.org for updates, documentation, and revision history. sl@0: sl@0: #include sl@0: #ifdef BOOST_NO_STD_WSTREAMBUF sl@0: #error "wide char i/o not supported on this platform" sl@0: #else sl@0: sl@0: #include sl@0: #include sl@0: sl@0: namespace boost { sl@0: namespace archive { sl@0: sl@0: // do not derive from this class. If you want to extend this functionality sl@0: // via inhertance, derived from binary_oarchive_impl instead. This will sl@0: // preserve correct static polymorphism. sl@0: class binary_woarchive : sl@0: public binary_oarchive_impl< sl@0: binary_woarchive, std::wostream::char_type, std::wostream::traits_type sl@0: > sl@0: { sl@0: public: sl@0: binary_woarchive(std::wostream & os, unsigned int flags = 0) : sl@0: binary_oarchive_impl< sl@0: binary_woarchive, std::wostream::char_type, std::wostream::traits_type sl@0: >(os, flags) sl@0: {} sl@0: binary_woarchive(std::wstreambuf & bsb, unsigned int flags = 0) : sl@0: binary_oarchive_impl< sl@0: binary_woarchive, std::wostream::char_type, std::wostream::traits_type sl@0: >(bsb, flags) sl@0: {} sl@0: }; sl@0: sl@0: } // namespace archive sl@0: } // namespace boost sl@0: sl@0: // required by smart_cast for compilers not implementing sl@0: // partial template specialization sl@0: BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(boost::archive::binary_woarchive) sl@0: sl@0: #endif // BOOST_NO_STD_WSTREAMBUF sl@0: #endif // BOOST_ARCHIVE_BINARY_WOARCHIVE_HPP