mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 16:12:10 +02:00
fixed a bug in get_from_iter
[SVN r21476]
This commit is contained in:
@ -150,10 +150,10 @@ namespace boost
|
|||||||
#else
|
#else
|
||||||
template <class D>
|
template <class D>
|
||||||
struct get_from_iter {
|
struct get_from_iter {
|
||||||
typedef typename mpl::apply_if<
|
typedef typename mpl::if_<
|
||||||
iterator_is_mutable<Dereferenceable>
|
iterator_is_mutable<Dereferenceable>
|
||||||
, iterator_value<Dereferenceable>
|
, typename iterator_value<Dereferenceable>::type
|
||||||
, iterator_value<Dereferenceable> const
|
, typename iterator_value<Dereferenceable>::type const
|
||||||
>::type type;
|
>::type type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user