File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 38
38
* inst/include/Rcpp/generated/Pairlist__ctors.h: Idem
39
39
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Idem
40
40
41
+ * inst/include/Rcpp/platform/compiler.h: No longer define HAS_VARIADIC_TEMPLATES
42
+ * src/api.cpp (rcpp_can_use_cxx0x): Return true unconditionally
43
+
41
44
2025-03-15 Dirk Eddelbuettel <
[email protected] >
42
45
43
46
* DESCRIPTION (Version, Date): Roll micro version and date
Original file line number Diff line number Diff line change 34
34
// C++11 features -- that used to be carefully tested for or worked around via CXX0X / TR1
35
35
// These defines are all planned to get removed just how a number have already been removed. One at a time...
36
36
#define RCPP_USING_CXX11
37
- #define HAS_VARIADIC_TEMPLATES
38
37
#include < cmath>
39
38
#include < initializer_list>
40
39
#include < unordered_map>
Original file line number Diff line number Diff line change @@ -1120,7 +1120,6 @@ class Vector :
1120
1120
return Vector ( 0 ) ;
1121
1121
}
1122
1122
1123
- // #if defined(HAS_VARIADIC_TEMPLATES)
1124
1123
public:
1125
1124
template <typename ... T>
1126
1125
static Vector create (const T&... t){
Original file line number Diff line number Diff line change @@ -223,11 +223,7 @@ SEXP rcpp_capabilities() {
223
223
224
224
// [[Rcpp::internal]]
225
225
SEXP rcpp_can_use_cxx0x () { // #nocov start
226
- #if defined(HAS_VARIADIC_TEMPLATES)
227
- return Rf_ScalarLogical (TRUE );
228
- #else
229
- return Rf_ScalarLogical (FALSE );
230
- #endif
226
+ return Rf_ScalarLogical (TRUE );
231
227
}
232
228
233
229
@@ -240,7 +236,6 @@ SEXP rcpp_can_use_cxx11() {
240
236
#endif
241
237
}
242
238
243
-
244
239
// [[Rcpp::register]]
245
240
SEXP stack_trace (const char * file, int line) {
246
241
return R_NilValue;
You can’t perform that action at this time.
0 commit comments