MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / operator==

Method operator==

inst/include/Rcpp/Na_Proxy.h:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 class Na_Proxy{
23
24 friend inline bool operator==(double x , Rcpp::Na_Proxy){ return Rcpp::traits::is_na<REALSXP>(x) ; }
25 friend inline bool operator==(int x , Rcpp::Na_Proxy){ return Rcpp::traits::is_na<INTSXP>(x) ; }
26 friend inline bool operator==(Rcpp::String x, Rcpp::Na_Proxy){ return Rcpp::traits::is_na<STRSXP>(x.get_sexp()) ; }
27 friend inline bool operator==(Rcomplex x , Rcpp::Na_Proxy){ return Rcpp::traits::is_na<CPLXSXP>(x) ; }

Callers

nothing calls this directly

Calls 6

is_na<REALSXP>Function · 0.85
is_na<INTSXP>Function · 0.85
is_na<STRSXP>Function · 0.85
is_na<CPLXSXP>Function · 0.85
get_sexpMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected