Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86025 - trunk/boost
From: steveire_at_[hidden]
Date: 2013-09-29 20:18:28


Author: skelly
Date: 2013-09-29 20:18:28 EDT (Sun, 29 Sep 2013)
New Revision: 86025
URL: http://svn.boost.org/trac/boost/changeset/86025

Log:
aligned_storage: Remove obsolete MSVC version check.

Text files modified:
   trunk/boost/aligned_storage.hpp | 22 ----------------------
   1 files changed, 0 insertions(+), 22 deletions(-)

Modified: trunk/boost/aligned_storage.hpp
==============================================================================
--- trunk/boost/aligned_storage.hpp Sun Sep 29 20:18:17 2013 (r86024)
+++ trunk/boost/aligned_storage.hpp 2013-09-29 20:18:28 EDT (Sun, 29 Sep 2013) (r86025)
@@ -132,34 +132,12 @@
         return static_cast<type*>(this)->address();
     }
 
-#if !BOOST_WORKAROUND(BOOST_MSVC, < 1300)
-
     const void* address() const
     {
         return static_cast<const type*>(this)->address();
     }
-
-#else // MSVC6
-
- const void* address() const;
-
-#endif // MSVC6 workaround
-
 };
 
-#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
-
-// MSVC6 seems not to like inline functions with const void* returns, so we
-// declare the following here:
-
-template <std::size_t S, std::size_t A>
-const void* aligned_storage<S,A>::address() const
-{
- return const_cast< aligned_storage<S,A>* >(this)->address();
-}
-
-#endif // MSVC6 workaround
-
 #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
 //
 // Make sure that is_pod recognises aligned_storage<>::type


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