22 #ifndef Rcpp__sugar__tools_iterator_h
23 #define Rcpp__sugar__tools_iterator_h
125 template <
typename T>
129 template <
typename T>
132 return const_iterator( obj ) ;
137 template <
typename T>
147 template <
typename T>
149 return get_const_begin<T>(obj) + obj.size() ;
SEXP * get_string_ptr(SEXP)
traits::r_vector_const_iterator< RTYPE, StoragePolicy >::type const_iterator
iterator operator-(difference_type n) const
iterator & operator-=(difference_type n)
bool operator>(const iterator &other) const
bool operator>=(const iterator &other) const
bool operator!=(const iterator &y) const
SugarIterator(const T &ref_)
SugarIterator(const T &ref_, R_xlen_t index_)
SugarIterator(const SugarIterator &other)
difference_type operator-(const iterator &other) const
bool operator<(const iterator &other) const
bool operator<=(const iterator &other) const
std::random_access_iterator_tag iterator_category
iterator operator+(difference_type n) const
reference operator[](R_xlen_t i)
bool operator==(const iterator &y) const
Rcpp::traits::storage_type< Rcpp::traits::r_sexptype_traits< T >::rtype >::type STORAGE_TYPE
iterator & operator+=(difference_type n)
sugar_const_iterator_type< T >::type get_const_end(const T &obj)
sugar_const_iterator_type< T >::type get_const_begin(const T &obj)
sugar_const_iterator_type< T >::type get_const_begin__impl(const T &obj, Rcpp::traits::true_type)
Rcpp::Vector< RTYPE >::const_iterator type