Boost logo

Boost-Commit :

From: droba_at_[hidden]
Date: 2008-06-17 17:21:34


Author: pavol_droba
Date: 2008-06-17 17:21:33 EDT (Tue, 17 Jun 2008)
New Revision: 46461
URL: http://svn.boost.org/trac/boost/changeset/46461

Log:
patch from ticket #1152 applied

Text files modified:
   trunk/boost/algorithm/string/detail/case_conv.hpp | 9 +++++++++
   trunk/boost/algorithm/string/detail/classification.hpp | 8 ++++++++
   trunk/boost/algorithm/string/detail/find_format_store.hpp | 7 +++++++
   3 files changed, 24 insertions(+), 0 deletions(-)

Modified: trunk/boost/algorithm/string/detail/case_conv.hpp
==============================================================================
--- trunk/boost/algorithm/string/detail/case_conv.hpp (original)
+++ trunk/boost/algorithm/string/detail/case_conv.hpp 2008-06-17 17:21:33 EDT (Tue, 17 Jun 2008)
@@ -21,6 +21,11 @@
 
 // case conversion functors -----------------------------------------------//
 
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(push)
+#pragma warning(disable:4512) //assignment operator could not be generated
+#endif
+
             // a tolower functor
             template<typename CharT>
             struct to_lowerF : public std::unary_function<CharT, CharT>
@@ -61,6 +66,10 @@
                 const std::locale& m_Loc;
             };
 
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(pop)
+#endif
+
 // algorithm implementation -------------------------------------------------------------------------
 
             // Transform a range

Modified: trunk/boost/algorithm/string/detail/classification.hpp
==============================================================================
--- trunk/boost/algorithm/string/detail/classification.hpp (original)
+++ trunk/boost/algorithm/string/detail/classification.hpp 2008-06-17 17:21:33 EDT (Tue, 17 Jun 2008)
@@ -29,6 +29,10 @@
 
 // classification functors -----------------------------------------------//
 
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(push)
+#pragma warning(disable:4512) //assignment operator could not be generated
+#endif
             // is_classified functor
             struct is_classifiedF :
                 public predicate_facade<is_classifiedF>
@@ -60,6 +64,10 @@
                 const std::locale m_Locale;
             };
 
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(pop)
+#endif
+
             // is_any_of functor
             /*
                 returns true if the value is from the specified set

Modified: trunk/boost/algorithm/string/detail/find_format_store.hpp
==============================================================================
--- trunk/boost/algorithm/string/detail/find_format_store.hpp (original)
+++ trunk/boost/algorithm/string/detail/find_format_store.hpp 2008-06-17 17:21:33 EDT (Tue, 17 Jun 2008)
@@ -20,6 +20,10 @@
 
 // temporary format and find result storage --------------------------------//
 
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(push)
+#pragma warning(disable:4512) //assignment operator could not be generated
+#endif
             template<
                 typename ForwardIteratorT,
                 typename FormatterT,
@@ -64,6 +68,9 @@
                 const formatter_type& m_Formatter;
             };
 
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(pop)
+#endif
         } // namespace detail
     } // namespace algorithm
 } // namespace boost


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk