22 #ifndef Rcpp_PreserveStorage_h
23 #define Rcpp_PreserveStorage_h
27 template <
typename CLASS>
48 static_cast<CLASS&
>(*this).update(
data) ;
68 return static_cast<T&
>(*this) ;
71 inline bool inherits(
const char* clazz)
const {
72 return ::Rf_inherits(
data, clazz) ;
75 inline operator SEXP()
const {
return data; }
T & copy__(const T &other)
bool inherits(const char *clazz) const
SEXP Rcpp_PreciousPreserve(SEXP object)
void Rcpp_PreciousRelease(SEXP token)