forked from boostorg/range
Fix for MSVC subrange iterator conversions.
This commit is contained in:
@ -66,13 +66,13 @@ namespace boost
|
|||||||
template< class ForwardRange >
|
template< class ForwardRange >
|
||||||
static IteratorT adl_begin( ForwardRange& r )
|
static IteratorT adl_begin( ForwardRange& r )
|
||||||
{
|
{
|
||||||
return static_cast<IteratorT>( boost::begin( r ) );
|
return IteratorT( boost::begin( r ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
template< class ForwardRange >
|
template< class ForwardRange >
|
||||||
static IteratorT adl_end( ForwardRange& r )
|
static IteratorT adl_end( ForwardRange& r )
|
||||||
{
|
{
|
||||||
return static_cast<IteratorT>( boost::end( r ) );
|
return IteratorT( boost::end( r ) );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user