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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Feb 2 10:53:48 CET 2010


Author: romain
Date: 2010-02-02 10:53:48 +0100 (Tue, 02 Feb 2010)
New Revision: 560

Modified:
   pkg/src/Rcpp/internal/wrap.h
Log:
implemented too early

Modified: pkg/src/Rcpp/internal/wrap.h
===================================================================
--- pkg/src/Rcpp/internal/wrap.h	2010-02-02 08:43:31 UTC (rev 559)
+++ pkg/src/Rcpp/internal/wrap.h	2010-02-02 09:53:48 UTC (rev 560)
@@ -112,16 +112,6 @@
 	UNPROTECT(1) ;
 	return x ;
 }
-
-/**
- * Dispatcher for all range based wrap implementations
- * 
- * This uses the Rcpp::traits::r_type_traits to perform further dispatch
- */
-template<typename InputIterator, typename T>
-SEXP range_wrap_dispatch( InputIterator first, InputIterator last ){
-	return range_wrap_dispatch___impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_type_traits<T>::r_category() ) ;
-}
 // }}}
 
 // {{{ named range wrap
@@ -241,6 +231,16 @@
 }
 // }}}
 
+/**
+ * Dispatcher for all range based wrap implementations
+ * 
+ * This uses the Rcpp::traits::r_type_traits to perform further dispatch
+ */
+template<typename InputIterator, typename T>
+SEXP range_wrap_dispatch( InputIterator first, InputIterator last ){
+	return range_wrap_dispatch___impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_type_traits<T>::r_category() ) ;
+}
+
 // we use the iterator trait to make the dispatch
 /**
  * range based wrap. This uses the std::iterator_traits class



More information about the Rcpp-commits mailing list