Boost logo

Boost-Commit :

From: xushiweizh_at_[hidden]
Date: 2008-04-30 15:44:13


Author: xushiwei
Date: 2008-04-30 15:44:13 EDT (Wed, 30 Apr 2008)
New Revision: 44945
URL: http://svn.boost.org/trac/boost/changeset/44945

Log:
issue issue #1879:
support BOOST_NO_PARTIAL_SPECIAILIZATION

Text files modified:
   sandbox/memory/boost/memory/basic.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/memory/boost/memory/basic.hpp
==============================================================================
--- sandbox/memory/boost/memory/basic.hpp (original)
+++ sandbox/memory/boost/memory/basic.hpp 2008-04-30 15:44:13 EDT (Wed, 30 Apr 2008)
@@ -49,14 +49,14 @@
 
 // -------------------------------------------------------------------------
 
-#if defined(_MSC_VER)
+#if defined(BOOST_NO_PARTIAL_SPECIAILIZATION)
+ #define BOOST_MEMORY_SUPPORT_PARTIAL_TEMPLATE
+#elif defined(_MSC_VER)
         #if (_MSC_VER > 1200)
         #define BOOST_MEMORY_SUPPORT_PARTIAL_TEMPLATE
         #endif
-#else
- #if defined(__GNUG__)
+#elif defined(__GNUG__)
         #define BOOST_MEMORY_SUPPORT_PARTIAL_TEMPLATE
- #endif
 #endif
 
 // =========================================================================


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