[Rcpp-commits] r653 - pkg/inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Feb 9 19:54:23 CET 2010


Author: romain
Date: 2010-02-09 19:54:23 +0100 (Tue, 09 Feb 2010)
New Revision: 653

Modified:
   pkg/inst/ChangeLog
Log:
updated changelog

Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2010-02-09 18:10:22 UTC (rev 652)
+++ pkg/inst/ChangeLog	2010-02-09 18:54:23 UTC (rev 653)
@@ -5,6 +5,19 @@
 
 2010-02-09  Romain Francois <romain at r-enthusiasts.com>
 
+	* src/Rcpp/SEXP_Vector.h: The functionality of SEXP_Vector
+	that was independent of the template parameter was factored out
+	into a new base class SEXP_Vector_Base. This follows the advice 
+	of item 44 of Effective C++.
+	
+	* src/Rcpp/SEXP_Vector.h: SEXP_Vector_Base::iterator is introduced
+	as well as methods begin() and end() to support use of stl 
+	algorithms on lists.
+	
+	* inst/unitTests/runit.GenericVector.R: new unit test for
+	testing SEXP_Vector_Base::iterator and illustrating a c++
+	version of lapply using std::transform
+
 	* src/Rcpp/CharacterVector.h: CharacterVector gains a random
 	access iterator, begin() and end() to support STL algorithms.
 	The iterator dereferences to a StringProxy



More information about the Rcpp-commits mailing list