Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2007-12-03 10:19:38


Author: nesotto
Date: 2007-12-03 10:19:37 EST (Mon, 03 Dec 2007)
New Revision: 41645
URL: http://svn.boost.org/trac/boost/changeset/41645

Log:
Ticket #1467
Text files modified:
   trunk/boost/ptr_container/nullable.hpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/boost/ptr_container/nullable.hpp
==============================================================================
--- trunk/boost/ptr_container/nullable.hpp (original)
+++ trunk/boost/ptr_container/nullable.hpp 2007-12-03 10:19:37 EST (Mon, 03 Dec 2007)
@@ -45,8 +45,18 @@
     private:
             BOOST_STATIC_CONSTANT( T*, var );
     public:
+
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(push)
+#pragma warning(disable:6334)
+#endif
+
             BOOST_STATIC_CONSTANT(bool, value = sizeof( ptr_container_detail::is_nullable( var ) )
                                                 == sizeof( type_traits::yes_type ) );
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(pop)
+#endif
+
     };
     
     template< class T >


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