[Rcpp-commits] r810 - pkg/Rcpp/src/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 1 14:58:18 CET 2010


Author: romain
Date: 2010-03-01 14:58:18 +0100 (Mon, 01 Mar 2010)
New Revision: 810

Modified:
   pkg/Rcpp/src/Rcpp/Named.h
Log:
also have operator()(string) in internal::NamedPlaceHodler

Modified: pkg/Rcpp/src/Rcpp/Named.h
===================================================================
--- pkg/Rcpp/src/Rcpp/Named.h	2010-03-01 13:49:43 UTC (rev 809)
+++ pkg/Rcpp/src/Rcpp/Named.h	2010-03-01 13:58:18 UTC (rev 810)
@@ -81,6 +81,9 @@
 	Named operator[]( const std::string& arg) const {
 		return Named( arg ) ;
 	}
+	Named operator()(const std::string& arg) const {
+		return Named( arg ) ;
+	}
 	operator SEXP() const { return R_MissingArg ; }
 } ;
 } // internal



More information about the Rcpp-commits mailing list