[[Rcpp::export]]
| 578 | |
| 579 | // [[Rcpp::export]] |
| 580 | std::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]] |