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

Function bare_as

inst/include/Rcpp/as.h:159–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158 template <typename T>
159 inline typename traits::remove_const_and_reference<T>::type bare_as(SEXP x) {
160 return as< typename traits::remove_const_and_reference<T>::type >(x);
161 }
162
163 template<> inline SEXP as(SEXP x) { return x; }
164

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected