diff options
Diffstat (limited to 'boost/iostreams/filtering_stream.hpp')
-rw-r--r-- | boost/iostreams/filtering_stream.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/boost/iostreams/filtering_stream.hpp b/boost/iostreams/filtering_stream.hpp index 3279c590cf..8621ef96b2 100644 --- a/boost/iostreams/filtering_stream.hpp +++ b/boost/iostreams/filtering_stream.hpp @@ -62,6 +62,12 @@ struct filtering_stream_traits { >::type stream_tag; }; +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(push) +// https://connect.microsoft.com/VisualStudio/feedback/details/733720/ +# pragma warning(disable: 4250) +#endif + template<typename Chain, typename Access> class filtering_stream_base : public access_control< @@ -93,6 +99,10 @@ private: Chain chain_; }; +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(pop) +#endif + } // End namespace detail. // @@ -149,9 +159,20 @@ private: { client_type::push(t BOOST_IOSTREAMS_PUSH_ARGS()); } \ }; \ /**/ + +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(push) +// https://connect.microsoft.com/VisualStudio/feedback/details/733720/ +# pragma warning(disable: 4250) +#endif + BOOST_IOSTREAMS_DEFINE_FILTER_STREAM(filtering_stream, boost::iostreams::chain, char) BOOST_IOSTREAMS_DEFINE_FILTER_STREAM(wfiltering_stream, boost::iostreams::chain, wchar_t) +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(pop) +#endif + typedef filtering_stream<input> filtering_istream; typedef filtering_stream<output> filtering_ostream; typedef wfiltering_stream<input> filtering_wistream; |