mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-23 01:17:16 +02:00
Kill off outer cv-stripping of Dereferenceable
[SVN r21696]
This commit is contained in:
@ -55,14 +55,12 @@ namespace detail
|
|||||||
|
|
||||||
template <class P>
|
template <class P>
|
||||||
struct pointee
|
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
|
} // namespace boost
|
||||||
|
Reference in New Issue
Block a user