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

Function character_const_iterator1

inst/tinytest/cpp/Vector.cpp:580–589  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

578
579// [[Rcpp::export]]
580std::string character_const_iterator1( const CharacterVector letters ){
581 std::string res ;
582 CharacterVector::const_iterator first = letters.begin() ;
583 CharacterVector::const_iterator last = letters.end() ;
584 while( first != last ){
585 res += *first ;
586 ++first ;
587 }
588 return res ;
589}
590
591
592// [[Rcpp::export]]

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected