forked from boostorg/range
*** empty log message ***
[SVN r23991]
This commit is contained in:
@ -90,9 +90,7 @@ namespace boost {
|
|||||||
iterator_range( Range& r ) :
|
iterator_range( Range& r ) :
|
||||||
m_Begin( boost::begin( r ) ), m_End( boost::end( r ) ) {}
|
m_Begin( boost::begin( r ) ), m_End( boost::end( r ) ) {}
|
||||||
|
|
||||||
//! Copy constructor
|
//! Copy constructor -- default OK
|
||||||
iterator_range( const iterator_range& Other ) :
|
|
||||||
m_Begin(Other.begin()), m_End(Other.end()) {}
|
|
||||||
|
|
||||||
//! Templated copy constructor
|
//! Templated copy constructor
|
||||||
/*!
|
/*!
|
||||||
@ -103,12 +101,7 @@ namespace boost {
|
|||||||
iterator_range( const iterator_range<OtherItT>& Other ) :
|
iterator_range( const iterator_range<OtherItT>& Other ) :
|
||||||
m_Begin(Other.begin()), m_End(Other.end()) {}
|
m_Begin(Other.begin()), m_End(Other.end()) {}
|
||||||
|
|
||||||
//! Assignment operator
|
//! Assignment operator -- defefault OK
|
||||||
iterator_range& operator=( const iterator_range& Other )
|
|
||||||
{
|
|
||||||
m_Begin=Other.begin(); m_End=Other.end();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Assignment operator ( templated version )
|
//! Assignment operator ( templated version )
|
||||||
template< typename OtherItT >
|
template< typename OtherItT >
|
||||||
|
Reference in New Issue
Block a user