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

Method Union

inst/include/Rcpp/sugar/functions/setdiff.h:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 typedef typename Rcpp::traits::storage_type<RTYPE>::type STORAGE ;
137
138 Union( const LHS_T& lhs, const RHS_T& rhs) :
139 result( get_const_begin(lhs), get_const_end(lhs) )
140 {
141 result.insert( get_const_begin(rhs), get_const_end(rhs) ) ;
142 }
143
144 Vector<RTYPE> get() const {
145 R_xlen_t n = result.size() ;

Callers

nothing calls this directly

Calls 3

get_const_beginFunction · 0.85
get_const_endFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected