Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57018 - trunk/boost/interprocess/containers/container/detail
From: igaztanaga_at_[hidden]
Date: 2009-10-20 11:59:55


Author: igaztanaga
Date: 2009-10-20 11:59:55 EDT (Tue, 20 Oct 2009)
New Revision: 57018
URL: http://svn.boost.org/trac/boost/changeset/57018

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

Modified: trunk/boost/interprocess/containers/container/detail/utilities.hpp
==============================================================================
--- trunk/boost/interprocess/containers/container/detail/utilities.hpp (original)
+++ trunk/boost/interprocess/containers/container/detail/utilities.hpp 2009-10-20 11:59:55 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