tvm
|
iterator adapter that adapts TIter to return another type. More...
#include <base.h>
Public Types | |
using | difference_type = typename std::iterator_traits< TIter >::difference_type |
using | value_type = typename Converter::ResultType |
using | pointer = typename Converter::ResultType * |
using | reference = typename Converter::ResultType & |
using | iterator_category = typename std::iterator_traits< TIter >::iterator_category |
Public Member Functions | |
ReverseIterAdapter (TIter iter) | |
ReverseIterAdapter & | operator++ () |
ReverseIterAdapter & | operator-- () |
ReverseIterAdapter | operator++ (int) |
ReverseIterAdapter | operator-- (int) |
ReverseIterAdapter | operator+ (difference_type offset) const |
template<typename T = ReverseIterAdapter> | |
std::enable_if< std::is_same< iterator_category, std::random_access_iterator_tag >::value, typename T::difference_type >::type | operator- (const ReverseIterAdapter &rhs) const |
bool | operator== (ReverseIterAdapter other) const |
bool | operator!= (ReverseIterAdapter other) const |
const value_type | operator* () const |
iterator adapter that adapts TIter to return another type.
Converter | a struct that contains converting function |
TIter | the content iterator type. |
using tvm::runtime::ReverseIterAdapter< Converter, TIter >::difference_type = typename std::iterator_traits<TIter>::difference_type |
using tvm::runtime::ReverseIterAdapter< Converter, TIter >::iterator_category = typename std::iterator_traits<TIter>::iterator_category |
using tvm::runtime::ReverseIterAdapter< Converter, TIter >::pointer = typename Converter::ResultType* |
using tvm::runtime::ReverseIterAdapter< Converter, TIter >::reference = typename Converter::ResultType& |
using tvm::runtime::ReverseIterAdapter< Converter, TIter >::value_type = typename Converter::ResultType |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |