[Rcpp-commits] r534 - pkg/src/Rcpp/internal

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jan 31 21:16:37 CET 2010


Author: romain
Date: 2010-01-31 21:16:35 +0100 (Sun, 31 Jan 2010)
New Revision: 534

Modified:
   pkg/src/Rcpp/internal/wrap.h
Log:
wrap( std::list<T>)

Modified: pkg/src/Rcpp/internal/wrap.h
===================================================================
--- pkg/src/Rcpp/internal/wrap.h	2010-01-31 19:07:34 UTC (rev 533)
+++ pkg/src/Rcpp/internal/wrap.h	2010-01-31 20:16:35 UTC (rev 534)
@@ -91,6 +91,7 @@
 
 // partial specialization for stl containers
 template <typename T> struct wrap_type_traits< std::vector<T> > { typedef wrap_type_stl_container_tag category ; } ;
+template <typename T> struct wrap_type_traits< std::list<T> > { typedef wrap_type_stl_container_tag category ; } ;
 template <typename T> struct wrap_type_traits< std::set<T> > { typedef wrap_type_stl_container_tag category ; } ;
 template <typename T> struct wrap_type_traits< std::deque<T> > { typedef wrap_type_stl_container_tag category ; } ;
 template <typename T> struct wrap_type_traits< std::multiset<T> > { typedef wrap_type_stl_container_tag category ; } ;



More information about the Rcpp-commits mailing list