We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8c3a2 commit e0718b4Copy full SHA for e0718b4
inst/include/Rcpp/String.h
@@ -407,9 +407,6 @@ namespace Rcpp {
407
/** the CHARSXP this String encapsulates */
408
SEXP data ;
409
410
- /** the encoding of encapsulated CHARSXP */
411
- cetype_t enc;
412
-
413
/** a buffer used to do string operations withough going back to the SEXP */
414
std::string buffer ;
415
@@ -419,6 +416,9 @@ namespace Rcpp {
419
416
/** is the buffer initialized */
420
417
bool buffer_ready ;
421
418
+ /** the encoding of encapsulated CHARSXP */
+ cetype_t enc;
+
422
inline bool is_na() const { return data == NA_STRING ; }
423
inline void setBuffer(){
424
if( !buffer_ready){
0 commit comments