Kill off outer cv-stripping of Dereferenceable

[SVN r21696]
This commit is contained in:
Dave Abrahams
2014-06-05 01:33:55 +03:00
committed by Peter Dimov
parent 69df402f70
commit ac7b14253f
+5 -7
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