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

Function multimap_string_bool

inst/tinytest/cpp/wrap.cpp:125–131  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

123
124// [[Rcpp::export]]
125LogicalVector multimap_string_bool(){
126 std::multimap<std::string,bool> m ;
127 m.insert( std::pair<std::string,bool>("b", true ) ) ;
128 m.insert( std::pair<std::string,bool>("a", false) ) ;
129 m.insert( std::pair<std::string,bool>("c", true ) ) ;
130 return wrap(m);
131}
132
133// [[Rcpp::export]]
134RawVector multimap_string_Rbyte(){

Callers

nothing calls this directly

Calls 2

wrapFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected