[Rcpp-devel] [Rcpp-commits] r289 - pkg/src/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 6 17:40:31 CET 2010


Author: romain
Date: 2010-01-06 17:40:30 +0100 (Wed, 06 Jan 2010)
New Revision: 289

Modified:
   pkg/src/Rcpp/wrap.h
Log:
shield initializer_list stuff with HAS_INIT_LISTS

Modified: pkg/src/Rcpp/wrap.h
===================================================================
--- pkg/src/Rcpp/wrap.h	2010-01-06 16:39:38 UTC (rev 288)
+++ pkg/src/Rcpp/wrap.h	2010-01-06 16:40:30 UTC (rev 289)
@@ -59,11 +59,13 @@
 RObject wrap(const std::set<std::string> & v);
 RObject wrap(const std::set<Rbyte> & v);
 
+#ifdef HAS_INIT_LISTS
 IntegerVector wrap( std::initializer_list<int> list) ;
 NumericVector wrap( std::initializer_list<double> list) ; 
 LogicalVector wrap( std::initializer_list<bool> list) ;
 RawVector wrap(std::initializer_list<Rbyte> list) ;
 // List wrap( std::initializer_list<RObject> list) ;
+#endif
 
 } // namespace Rcpp
 

_______________________________________________
Rcpp-commits mailing list
Rcpp-commits at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-commits


More information about the Rcpp-devel mailing list