File tree Expand file tree Collapse file tree 3 files changed +20
-147
lines changed
Expand file tree Collapse file tree 3 files changed +20
-147
lines changed Original file line number Diff line number Diff line change 1+ 2025-03-18 Dirk Eddelbuettel <
[email protected] >
2+
3+ * inst/include/Rcpp/module/class.h: Use variadic templates unconditionally
4+ * inst/include/Rcpp/grow.h: Idem
5+
6+ * inst/include/Rcpp/module/Module_generated_class_constructor.h: Removed
7+ * inst/include/Rcpp/module/Module_generated_class_factory.h: Idem
8+ * inst/include/Rcpp/module/Module_generated_method.h: Idem
9+ * inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
10+ * inst/include/Rcpp/generated/grow__pairlist.h: Idem
11+
1122025-03-15 Dirk Eddelbuettel <
[email protected] >
213
314 * DESCRIPTION (Version, Date): Roll micro version and date
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -70,18 +70,15 @@ namespace Rcpp {
7070 return grow (Rf_mkString (head), y);
7171 }
7272
73- #if defined(HAS_VARIADIC_TEMPLATES)
74- template <typename T1>
75- SEXP pairlist (const T1& t1) {
76- return grow ( t1, R_NilValue ) ;
77- }
78- template <typename T, typename ... TArgs>
79- SEXP pairlist (const T& t1, const TArgs&... args) {
80- return grow (t1, pairlist (args...));
81- }
82- #else
83- #include < Rcpp/generated/grow__pairlist.h>
84- #endif
73+ template <typename T1>
74+ SEXP pairlist (const T1& t1) {
75+ return grow ( t1, R_NilValue ) ;
76+ }
77+
78+ template <typename T, typename ... TArgs>
79+ SEXP pairlist (const T& t1, const TArgs&... args) {
80+ return grow (t1, pairlist (args...));
81+ }
8582
8683} // namespace Rcpp
8784
You can’t perform that action at this time.
0 commit comments