merged from trunk

[SVN r21697]
This commit is contained in:
Dave Abrahams
2004-01-13 19:19:35 +00:00
parent b1861b8798
commit 642baa6780

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