mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-11 13:33:56 +00:00
Kill off outer cv-stripping of Dereferenceable
[SVN r21696]
This commit is contained in:
parent
69df402f70
commit
ac7b14253f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user