We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ebc36 commit 545c5efCopy full SHA for 545c5ef
inst/include/Rcpp/date_datetime/newDatetimeVector.h
@@ -28,10 +28,15 @@ namespace Rcpp {
28
29
class newDatetimeVector : public NumericVector {
30
public:
31
+ template <int RTYPE, bool NA, typename VEC>
32
+ newDatetimeVector( const VectorBase<RTYPE,NA,VEC>& other ) :
33
+ NumericVector(other) {}
34
+
35
newDatetimeVector(SEXP vec, const char* tz = "") :
36
NumericVector(vec) {
37
setClass(tz);
38
}
39
40
newDatetimeVector(int n, const char* tz = "") :
41
NumericVector(n) {
42
0 commit comments