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 0096bf2291
commit 2fe7fd95d2

View File

@ -26,14 +26,12 @@ namespace detail
template <class P>
struct indirect_reference
: mpl::apply_if<
detail::is_incrementable<P>
, iterator_reference<P>
, detail::smart_ptr_reference<P>
>
{
typedef typename remove_cv<P>::type stripped;
typedef typename mpl::apply_if<
detail::is_incrementable<stripped>
, iterator_reference<stripped>
, detail::smart_ptr_reference<stripped>
>::type type;
};
} // namespace boost