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

Method update

inst/include/Rcpp/vector/traits.h:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 r_vector_cache() : start(0), size(0) {} ;
38
39 inline void update( const VECTOR& v ) {
40 start = ::Rcpp::internal::r_vector_start<RTYPE>(v) ;
41 size = v.size();
42 }
43
44 inline iterator get() const { return start; }
45 inline const_iterator get_const() const { return start; }

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected