Subject: [Boost-bugs] [Boost C++ Libraries] #3588: boost\io\ios_state.hpp(256) : warning C4512: 'boost::io::basic_ios_locale_saver<Ch>' : assignment operator could not be generated
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-04 19:27:57
#3588: boost\io\ios_state.hpp(256) : warning C4512:
'boost::io::basic_ios_locale_saver<Ch>' : assignment operator could not be
generated
-------------------------------------------------------------+--------------
Reporter: Seweryn Habdank-Wojewodzki <seweryn@â¦> | Owner:
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: None
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
-------------------------------------------------------------+--------------
This is simple issue.
Here is a patch:
Index: io/ios_state.hpp
===================================================================
--- io/ios_state.hpp (revision 66)
+++ io/ios_state.hpp (working copy)
@@ -226,6 +226,9 @@
{ s_save_.fill( a_save_ ); }
private:
+ typedef basic_ios_fill_saver this_type;
+ this_type& operator=(this_type const&);
+
state_type & s_save_;
aspect_type const a_save_;
};
@@ -251,6 +254,9 @@
{ s_save_.imbue( a_save_ ); }
private:
+ typedef basic_ios_locale_saver this_type;
+ this_type& operator=(this_type const&);
+
state_type & s_save_;
aspect_type const a_save_;
};
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3588> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC