22 #ifndef Rcpp__sugar__is_na_h
23 #define Rcpp__sugar__is_na_h
28 template <
int RTYPE,
bool NA,
typename VEC_TYPE>
37 return ::Rcpp::traits::is_na<RTYPE>(
obj[i] ) ;
50 template <
int RTYPE,
typename VEC_TYPE>
75 #if defined(RCPP_NEW_DATE_DATETIME_VECTORS)
76 return ::Rcpp::traits::is_na<T>(
ref[i]);
78 return ref[i].is_na() ;
82 inline R_xlen_t
size()
const {
return ref.size() ; }
90 template <
int RTYPE,
bool NA,
typename T>
Rcpp::VectorBase< RTYPE, false, VEC_TYPE > BASE
traits::storage_type< RTYPE >::type STORAGE
int operator[](R_xlen_t i) const
int operator[](R_xlen_t i) const
IsNa_Vector_is_na(const T &x)
traits::storage_type< RTYPE >::type STORAGE
int operator[](R_xlen_t i) const
Rcpp::VectorBase< RTYPE, NA, VEC_TYPE > BASE
sugar::IsNa< RTYPE, NA, T > is_na(const Rcpp::VectorBase< RTYPE, NA, T > &t)