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

Function test_const_reference

inst/tinytest/cpp/Module.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 return ref.size();
53}
54int test_const_reference(const std::vector<double>& ref) {
55 return ref.size();
56}
57int test_const(const std::vector<double> ref) {
58 return ref.size();
59}

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected