[Rcpp-commits] r4484 - in pkg/Rcpp: . src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Sep 14 14:27:14 CEST 2013
Author: edd
Date: 2013-09-14 14:27:14 +0200 (Sat, 14 Sep 2013)
New Revision: 4484
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/src/attributes.cpp
Log:
need an extra space before closing '>' to avoid getting '>>' on (templated) arguments already ending in '>'
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2013-09-14 12:06:17 UTC (rev 4483)
+++ pkg/Rcpp/ChangeLog 2013-09-14 12:27:14 UTC (rev 4484)
@@ -1,3 +1,7 @@
+2013-09-14 Dirk Eddelbuettel <edd at debian.org>
+
+ * src/attributes.cpp (Rcpp): Precede closing '>' by space to avoid '>>'
+
2013-09-13 Romain Francois <romain at r-enthusiasts.com>
* src/api.cpp : added "long long" to the capabilities function.
Modified: pkg/Rcpp/src/attributes.cpp
===================================================================
--- pkg/Rcpp/src/attributes.cpp 2013-09-14 12:06:17 UTC (rev 4483)
+++ pkg/Rcpp/src/attributes.cpp 2013-09-14 12:27:14 UTC (rev 4484)
@@ -2167,7 +2167,8 @@
for (size_t i = 0; i<arguments.size(); i++) {
const Argument& argument = arguments[i];
- ostr << " Rcpp::InputParameter< " << argument.type().full_name() << "> " << argument.name()
+ ostr << " Rcpp::InputParameter< "
+ << argument.type().full_name() << " > " << argument.name()
<< "(" << argument.name() << "SEXP );" << std::endl;
}
More information about the Rcpp-commits
mailing list