diff options
Diffstat (limited to 'boost/iostreams/stream.hpp')
-rw-r--r-- | boost/iostreams/stream.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/boost/iostreams/stream.hpp b/boost/iostreams/stream.hpp index f706288eae..c581837b75 100644 --- a/boost/iostreams/stream.hpp +++ b/boost/iostreams/stream.hpp @@ -56,6 +56,12 @@ struct 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 + // By encapsulating initialization in a base, we can define the macro // BOOST_IOSTREAMS_DEFINE_FORWARDING_FUNCTIONS to generate constructors // without base member initializer lists. @@ -84,6 +90,10 @@ public: stream_base() : pbase_type(), stream_type(&member) { } }; +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(pop) +#endif + } } } // End namespaces detail, iostreams, boost. #ifdef BOOST_IOSTREAMS_BROKEN_OVERLOAD_RESOLUTION @@ -92,6 +102,12 @@ public: namespace boost { namespace iostreams { +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(push) +// https://connect.microsoft.com/VisualStudio/feedback/details/733720/ +# pragma warning(disable: 4250) +#endif + // // Template name: stream. // Description: A iostream which reads from and writes to an instance of a @@ -144,6 +160,10 @@ private: } }; +#if defined(BOOST_MSVC) && (BOOST_MSVC == 1700) +# pragma warning(pop) +#endif + } } // End namespaces iostreams, boost. #endif // #ifdef BOOST_IOSTREAMS_BROKEN_OVERLOAD_RESOLUTION |