1 #ifndef Rcpp_NoProtectStorage_h
2 #define Rcpp_NoProtectStorage_h
6 template <
typename CLASS>
21 static_cast<CLASS&
>(*this).update(
data) ;
33 inline CLASS&
copy__(
const CLASS& other){
37 return static_cast<CLASS&
>(*this) ;
40 inline bool inherits(
const char* clazz)
const {
41 return ::Rf_inherits(
data, clazz) ;
44 inline operator SEXP()
const {
CLASS & copy__(const CLASS &other)
bool inherits(const char *clazz) const