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

Method SetEqual

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

Source from the content-addressed store, hash-verified

74 typedef typename Rcpp::traits::storage_type<RTYPE>::type STORAGE ;
75
76 SetEqual( const LHS_T& lhs, const RHS_T& rhs) :
77 lhs_set( get_const_begin(lhs), get_const_end(lhs) ),
78 rhs_set( get_const_begin(rhs), get_const_end(rhs) )
79 {
80 }
81
82 bool get() const {
83 if( lhs_set.size() != rhs_set.size() ) return false ;

Callers

nothing calls this directly

Calls 2

get_const_beginFunction · 0.85
get_const_endFunction · 0.85

Tested by

no test coverage detected