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

Method setData

inst/include/Rcpp/String.h:662–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660 }
661 }
662 inline void setData() {
663 RCPP_STRING_DEBUG("setData");
664 if (!valid) {
665 data = get_sexp_impl();
666 token = Rcpp_PreciousPreserve(data);
667 valid = true;
668 }
669 }
670 template <typename T> void append(const T& s) { buffer += s;}
671 };
672

Callers

nothing calls this directly

Calls 1

Rcpp_PreciousPreserveFunction · 0.85

Tested by

no test coverage detected