2.10.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::container::move_range< Container > Class Template Reference

Detailed Description

template<typename Container>
class fcppt::container::move_range< Container >

A range that moves its elements.

Template Parameters
ContainerA container type.

Public Types

typedef std::move_iterator< typename Container::iterator > iterator
 
typedef Container::const_iterator const_iterator
 

Public Member Functions

 move_range (Container &&)
 
 move_range (move_range &&)
 
move_rangeoperator= (move_range &&)
 
 ~move_range ()
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Member Typedef Documentation

◆ const_iterator

template<typename Container >
typedef Container::const_iterator fcppt::container::move_range< Container >::const_iterator

◆ iterator

template<typename Container >
typedef std::move_iterator< typename Container::iterator > fcppt::container::move_range< Container >::iterator

Constructor & Destructor Documentation

◆ move_range() [1/2]

template<typename Container >
fcppt::container::move_range< Container >::move_range ( Container &&  )
explicit

◆ move_range() [2/2]

template<typename Container >
fcppt::container::move_range< Container >::move_range ( move_range< Container > &&  )

◆ ~move_range()

template<typename Container >
fcppt::container::move_range< Container >::~move_range ( )

Member Function Documentation

◆ begin() [1/2]

template<typename Container >
iterator fcppt::container::move_range< Container >::begin ( )

◆ begin() [2/2]

template<typename Container >
const_iterator fcppt::container::move_range< Container >::begin ( ) const

◆ end() [1/2]

template<typename Container >
iterator fcppt::container::move_range< Container >::end ( )

◆ end() [2/2]

template<typename Container >
const_iterator fcppt::container::move_range< Container >::end ( ) const

◆ operator=()

template<typename Container >
move_range& fcppt::container::move_range< Container >::operator= ( move_range< Container > &&  )