Kill off outer cv-stripping of Dereferenceable

[SVN r21696]
This commit is contained in:
Dave Abrahams
2004-01-13 19:18:42 +00:00
parent 6b77e7f8bd
commit 0f8aa07e5c

View File

@ -55,14 +55,12 @@ namespace detail
template <class P>
struct pointee
: mpl::apply_if<
detail::is_incrementable<P>
, detail::iterator_pointee<P>
, detail::smart_ptr_pointee<P>
>
{
typedef typename remove_cv<P>::type stripped;
typedef typename mpl::apply_if<
detail::is_incrementable<stripped>
, detail::iterator_pointee<stripped>
, detail::smart_ptr_pointee<stripped>
>::type type;
};
} // namespace boost