Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57019 - branches/release/boost/interprocess/containers/container/detail
From: igaztanaga_at_[hidden]
Date: 2009-10-20 12:00:14


Author: igaztanaga
Date: 2009-10-20 12:00:13 EDT (Tue, 20 Oct 2009)
New Revision: 57019
URL: http://svn.boost.org/trac/boost/changeset/57019

Log:
Fixes for 1.41
Text files modified:
   branches/release/boost/interprocess/containers/container/detail/utilities.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: branches/release/boost/interprocess/containers/container/detail/utilities.hpp
==============================================================================
--- branches/release/boost/interprocess/containers/container/detail/utilities.hpp (original)
+++ branches/release/boost/interprocess/containers/container/detail/utilities.hpp 2009-10-20 12:00:13 EDT (Tue, 20 Oct 2009)
@@ -14,6 +14,7 @@
 #include <boost/interprocess/containers/container/detail/config_begin.hpp>
 #include <cstdio>
 #include <boost/type_traits/is_fundamental.hpp>
+#include <boost/type_traits/is_pointer.hpp>
 #include <boost/interprocess/detail/move.hpp>
 #include <boost/interprocess/containers/container/detail/mpl.hpp>
 #include <boost/interprocess/containers/container/detail/type_traits.hpp>
@@ -98,7 +99,7 @@
 template<class T>
 struct move_const_ref_type
    : if_c
- < ::boost::is_fundamental<T>::value
+ < ::boost::is_fundamental<T>::value || ::boost::is_pointer<T>::value
    ,const T &
    ,BOOST_INTERPROCESS_CATCH_CONST_RLVALUE(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