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

Function caster

inst/include/Rcpp/internal/caster.h:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace internal{
26
27template <typename FROM, typename TO> TO caster(FROM from){ // #nocov start
28 return static_cast<TO>(from) ;
29} // #nocov end
30
31template <typename T>
32inline Rcomplex Rcomplex_caster( std::complex<T> from ){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected