MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / get_const_begin__impl

Function get_const_begin__impl

inst/include/Rcpp/sugar/tools/iterator.h:126–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125 template <typename T>
126 inline typename sugar_const_iterator_type<T>::type get_const_begin__impl(const T& obj, Rcpp::traits::true_type ){
127 return obj.begin() ;
128 }
129 template <typename T>
130 inline typename sugar_const_iterator_type<T>::type get_const_begin__impl(const T& obj, Rcpp::traits::false_type ){
131 typedef typename sugar_const_iterator_type<T>::type const_iterator ;

Callers 1

get_const_beginFunction · 0.85

Calls 2

const_iteratorClass · 0.85
beginMethod · 0.45

Tested by

no test coverage detected