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

Function character_vector_const_proxy

inst/tinytest/cpp/Vector.cpp:732–737  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

730
731// [[Rcpp::export]]
732std::string character_vector_const_proxy(const CharacterVector& str){
733 char* cstr = (char*) str[0] ;
734 std::string res ;
735 res += cstr ;
736 return cstr ;
737}
738
739// [[Rcpp::export]]
740CharacterVector CharacterVector_test_const_proxy(const CharacterVector x){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected