Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ wrap
Method
wrap
inst/tinytest/cpp/wrap.cpp:40–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
#include <Rcpp.h>
39
40
template<typename T> SEXP Rcpp::wrap(const Bar<T> &b) {
41
return Rcpp::wrap(b.t);
42
}
43
44
// [[Rcpp::export]]
45
Bar<int> test_wrap_custom_class() {
Callers
1
wrap_dispatch_importer__impl
Function · 0.80
Calls
1
wrap
Function · 0.50
Tested by
no test coverage detected