CAPD RedHom Library
capd::homAux::AdaptedContainer< Container, Adaptors > Class Template Reference

#include <capd/homAux/AdaptedContainer.h>

Public Types

typedef boost::sub_range< Container > SubRange
 
typedef detail::ApplyAdaptors::Apply< SubRange, Adaptors... >::type Base
 

Public Member Functions

 AdaptedContainer (AdaptedContainer &&)=default
 
 AdaptedContainer ()
 
 AdaptedContainer (Container container, Adaptors...adaptors)
 
AdaptedContaineroperator= (AdaptedContainer &&rhs)=default
 
template<typename It >
void assign (It begin, It end)
 

Friends

void swap (AdaptedContainer &lhs, AdaptedContainer &rhs)
 

Member Typedef Documentation

template<typename Container , typename... Adaptors>
typedef detail::ApplyAdaptors::Apply<SubRange, Adaptors...>::type capd::homAux::AdaptedContainer< Container, Adaptors >::Base
template<typename Container , typename... Adaptors>
typedef boost::sub_range<Container> capd::homAux::AdaptedContainer< Container, Adaptors >::SubRange

Constructor & Destructor Documentation

template<typename Container , typename... Adaptors>
capd::homAux::AdaptedContainer< Container, Adaptors >::AdaptedContainer ( AdaptedContainer< Container, Adaptors > &&  )
default
template<typename Container , typename... Adaptors>
capd::homAux::AdaptedContainer< Container, Adaptors >::AdaptedContainer ( )
inline
template<typename Container , typename... Adaptors>
capd::homAux::AdaptedContainer< Container, Adaptors >::AdaptedContainer ( Container  container,
Adaptors...  adaptors 
)
inlineexplicit

Member Function Documentation

template<typename Container , typename... Adaptors>
template<typename It >
void capd::homAux::AdaptedContainer< Container, Adaptors >::assign ( It  begin,
It  end 
)
inline
template<typename Container , typename... Adaptors>
AdaptedContainer& capd::homAux::AdaptedContainer< Container, Adaptors >::operator= ( AdaptedContainer< Container, Adaptors > &&  rhs)
default

Friends And Related Function Documentation

template<typename Container , typename... Adaptors>
void swap ( AdaptedContainer< Container, Adaptors > &  lhs,
AdaptedContainer< Container, Adaptors > &  rhs 
)
friend