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

Function multimap_string_double

inst/tinytest/cpp/wrap.cpp:116–122  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

114
115// [[Rcpp::export]]
116NumericVector multimap_string_double(){
117 std::multimap<std::string,double> m ;
118 m.insert( std::pair<std::string,double>("b", 100) );
119 m.insert( std::pair<std::string,double>("a", 200) );
120 m.insert( std::pair<std::string,double>("c", 300) );
121 return wrap(m);
122}
123
124// [[Rcpp::export]]
125LogicalVector multimap_string_bool(){

Callers

nothing calls this directly

Calls 2

wrapFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected