From 0f8aa07e5cef63d20498ce504d51e8a3302c3c0b Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 13 Jan 2004 19:18:42 +0000 Subject: [PATCH] Kill off outer cv-stripping of Dereferenceable [SVN r21696] --- include/boost/pointee.hpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/boost/pointee.hpp b/include/boost/pointee.hpp index d4339b9..4f17bfd 100755 --- a/include/boost/pointee.hpp +++ b/include/boost/pointee.hpp @@ -55,14 +55,12 @@ namespace detail template struct pointee + : mpl::apply_if< + detail::is_incrementable

+ , detail::iterator_pointee

+ , detail::smart_ptr_pointee

+ > { - typedef typename remove_cv

::type stripped; - - typedef typename mpl::apply_if< - detail::is_incrementable - , detail::iterator_pointee - , detail::smart_ptr_pointee - >::type type; }; } // namespace boost