|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82113 - sandbox/static_vector/boost/container/detail
From: adam.wulkiewicz_at_[hidden]
Date: 2012-12-20 08:54:34
Author: awulkiew
Date: 2012-12-20 08:54:33 EST (Thu, 20 Dec 2012)
New Revision: 82113
URL: http://svn.boost.org/trac/boost/changeset/82113
Log:
BOOST STD libraries definitions used in std::vector iterators optimization definition.
Text files modified:
sandbox/static_vector/boost/container/detail/static_vector_util.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: sandbox/static_vector/boost/container/detail/static_vector_util.hpp
==============================================================================
--- sandbox/static_vector/boost/container/detail/static_vector_util.hpp (original)
+++ sandbox/static_vector/boost/container/detail/static_vector_util.hpp 2012-12-20 08:54:33 EST (Thu, 20 Dec 2012)
@@ -32,6 +32,7 @@
//#include <boost/type_traits/has_nothrow_assign.hpp>
//#include <boost/type_traits/has_nothrow_destructor.hpp>
+#include <boost/config.hpp>
#include <boost/move/move.hpp>
#include <boost/utility/addressof.hpp>
#include <boost/iterator/iterator_traits.hpp>
@@ -58,7 +59,7 @@
struct are_elements_contiguous< container_detail::vector_iterator<Pointer> > : boost::true_type
{};
-#if defined(_MSC_VER)
+#if defined(BOOST_DINKUMWARE_STDLIB)
template <typename T>
struct are_elements_contiguous<
@@ -72,7 +73,7 @@
> : boost::true_type
{};
-#elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
+#elif defined(BOOST_GNU_STDLIB)
template <typename P, typename T, typename A>
struct are_elements_contiguous<
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