Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions inst/include/Rcpp/date_datetime/newDatetimeVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ namespace Rcpp {

class newDatetimeVector : public NumericVector {
public:
template <int RTYPE, bool NA, typename VEC>
newDatetimeVector( const VectorBase<RTYPE,NA,VEC>& other ) :
NumericVector(other) {}

newDatetimeVector(SEXP vec, const char* tz = "") :
NumericVector(vec) {
setClass(tz);
}

newDatetimeVector(int n, const char* tz = "") :
NumericVector(n) {
setClass(tz);
Expand Down