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

Function CharacterVector_wstring

inst/tinytest/cpp/wstring.cpp:5–14  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

3
4// [[Rcpp::export]]
5CharacterVector CharacterVector_wstring( ){
6 CharacterVector res(2) ;
7 res[0] = L"foo" ;
8 res[0] += L"bar" ;
9
10 res[1] = std::wstring( L"foo" ) ;
11 res[1] += std::wstring( L"bar" ) ;
12
13 return res ;
14}
15
16// [[Rcpp::export]]
17std::wstring wstring_return(){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected